Results 1 to 6 of 6

Thread: issue about blank area appear

  1. #1
    Join Date
    May 2008
    Posts
    5
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default issue about blank area appear

    the problem is :
    there will be a blank area(just a flash) when QPushButton uses hide() method in a MainForm.

    i wanna know the way how to let the blank doesn't show?

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: issue about blank area appear

    Quote Originally Posted by cherrydou View Post
    the problem is :
    there will be a blank area(just a flash) when QPushButton uses hide() method in a MainForm.

    i wanna know the way how to let the blank doesn't show?
    Could you rephrase, please?
    J-P Nurmi

  3. #3
    Join Date
    May 2008
    Posts
    5
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: issue about blank area appear

    Quote Originally Posted by jpn View Post
    Could you rephrase, please?
    Thanks very much for ur reading.
    OK, let me give out more description, the situation is:
    there are some buttons in the MainForm, and the numbers of these buttons will be changed if needed.
    While the numbers of buttons change, there will leave a blank area in the button place which should be hided according to my demand(the blank problem appears just a flash then the backgroud return to normal).

    if u have any doubt about my explanation pls tell me, thanks a lot in advance for ur answer and suggestion

  4. #4
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: issue about blank area appear

    Are you using layouts?
    J-P Nurmi

  5. #5
    Join Date
    May 2008
    Posts
    5
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: issue about blank area appear

    Quote Originally Posted by jpn View Post
    Are you using layouts?
    Yes , using QHBoxLayout

  6. #6
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: issue about blank area appear

    It's still not clear what's the problem and what do you want. Help us to help you. Could you show us screenshots or something? Maybe you want something like this: [wiki]Expanding dialog[/wiki]?
    J-P Nurmi

Similar Threads

  1. leaveEvent on transparent area issue
    By nooky59 in forum Qt Programming
    Replies: 10
    Last Post: 8th January 2008, 13:22

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.