Results 1 to 3 of 3

Thread: Hiding a part of application's GUI

  1. #1
    Join Date
    Jul 2010
    Location
    Russia, Moscow/Krasnodar
    Posts
    5
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    1

    Question Hiding a part of application's GUI

    Hello, $username!

    I have troubles with such easy feature:

    Imagine, that we have layout with widget1 and widget2 on it - one under another, and after receiving some signal i want to have widget2 hidden with wrapping my program.

    E.g. if i want widget1 to be 200x300, then after hiding the second one the app should be 200x300.

    The only that was successful is appearing widget2 and unwrapping program, but after hiding it, all the widget1's stuff places was reordered, but the app was still large.

    Any helloworld-like examples for this situation would be welcome =)

    TIA, Eugene.

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Wiki edits
    5

    Default Re: Hiding a part of application's GUI

    Have a look at [WIKI]Expanding dialog[/WIKI]. It might be what you are searching for.

  3. The following user says thank you to Lykurg for this useful post:

    uGin (27th July 2010)

  4. #3
    Join Date
    Jul 2010
    Location
    Russia, Moscow/Krasnodar
    Posts
    5
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    1

    Default Re: Hiding a part of application's GUI

    Yeah, it's exactly what I've been searching for. Thanks a lot, Lykurg.

    My mistake was in using pessimistic keyword wrap instead of optimistic expand =)

    </thread>

Similar Threads

  1. Hiding a tab in QTabBar widget
    By erik in forum Qt Programming
    Replies: 9
    Last Post: 12th February 2017, 12:29
  2. qgridlayout and hiding widgets
    By Michael_Levin in forum Newbie
    Replies: 3
    Last Post: 21st May 2010, 17:47
  3. Showing and hiding menubar
    By borges in forum Newbie
    Replies: 1
    Last Post: 23rd September 2007, 10:56
  4. QComboBox drop-down hiding
    By bpetty in forum Newbie
    Replies: 1
    Last Post: 17th August 2007, 02:26
  5. hiding mouse on second screen
    By safknw in forum KDE Forum
    Replies: 1
    Last Post: 24th November 2006, 11:09

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
  •  
Qt is a trademark of The Qt Company.