Results 1 to 2 of 2

Thread: QMainWindow central widget minimum size

  1. #1
    Join Date
    Mar 2009
    Location
    Israel
    Posts
    20
    Thanks
    2
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default QMainWindow central widget minimum size

    Hi,
    I have Main window with QDockWidget's around central widget.

    There is posibility when user resize dock widget he can totaly hide central widget .
    How can I prevent it from him?????

  2. #2
    Join Date
    Jun 2010
    Location
    Salatiga, Indonesia
    Posts
    160
    Thanks
    11
    Thanked 32 Times in 29 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    1

    Default Re: QMainWindow central widget minimum size

    Try to set the minimum size of your central widget.

Similar Threads

  1. How can size of QMainWindow's central widget be managed?
    By yogeshm02 in forum Qt Programming
    Replies: 9
    Last Post: 28th March 2014, 22:12
  2. Replies: 2
    Last Post: 23rd March 2009, 18:26
  3. Shrink QMainWindow to Minimum Size
    By kloffy in forum Qt Programming
    Replies: 4
    Last Post: 17th February 2008, 18:54
  4. paint central widget of a QMainWindow???
    By Shuchi Agrawal in forum Newbie
    Replies: 3
    Last Post: 17th January 2007, 09:02
  5. Central Widget of QMainWindow
    By sumsin in forum Qt Programming
    Replies: 3
    Last Post: 13th March 2006, 19:32

Tags for this Thread

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.