January 2, 2012

ThomasJoachim ThomasJoachim
Lab Rat
15 posts

Full docking widget



I made a QWidget which shows some QWidgets inside. This size of this main widget should be resized to full size of application window (or parent widget).
Is it necessary to write handlers for resize or does some automatically methods exist?


1 reply

January 2, 2012

Volker Volker
Ant Farmer
5331 posts

If you put it into a layout (or set it as central widget of a QMainWindow based application), the resizing is handled automatically.

  ‹‹ [gelöst] Komme im AdressBook Tutorial nicht weiter, VS2010 Addin      pyside-uic für openSUSE, Versionswirrwar und Borderlayout ››

You must log in to post a reply. Not a member yet? Register here!