Results 1 to 3 of 3

Thread: QTabWidget maximize

  1. #1
    Join Date
    Nov 2012
    Posts
    24
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows
    Thanks
    1
    Thanked 1 Time in 1 Post

    Default QTabWidget maximize

    Hello,

    In Qt Creator I want to maximize the tabs from QTabWiget.
    Somebody an idea.

    Regards,
    Arend

  2. #2
    Join Date
    Oct 2012
    Posts
    32
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows
    Thanked 1 Time in 1 Post

    Default Re: QTabWidget maximize

    perhaps using setGeometry on the tab will provide you with the results you are looking for pal?

  3. #3
    Join Date
    Jan 2012
    Location
    Dortmund, Germany
    Posts
    159
    Qt products
    Qt4
    Platforms
    Windows Android
    Thanks
    69
    Thanked 10 Times in 8 Posts

    Default Re: QTabWidget maximize

    Set the minimumWidth and -height and as a policy: minimumExpanding. Then the tab should expand to the available space in the layout area it's in. You find those settings in the properties tab in the QDesigner. If you are not using QDesigner you can set them manually, too. HTH.

Similar Threads

  1. Replies: 6
    Last Post: 21st August 2013, 13:53
  2. Maximize Window in Background
    By qtoptus in forum Qt Programming
    Replies: 2
    Last Post: 16th March 2012, 15:28
  3. maximize grid with maximize window
    By bibhukalyana in forum Qt Programming
    Replies: 2
    Last Post: 19th May 2011, 09:16
  4. how to disable the maximize button?
    By zabeehkhan in forum Qt Programming
    Replies: 4
    Last Post: 14th April 2010, 08:26
  5. Key sequence maximize program
    By bunjee in forum Qt Programming
    Replies: 2
    Last Post: 11th November 2009, 22:18

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.