Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
dev:layout_code [2009/06/27 22:10]
michael
dev:layout_code [2009/06/27 22:15]
michael
Line 9: Line 9:
 ===== A dialog box IS a QWidget ===== ===== A dialog box IS a QWidget =====
  
-It is true that in order to add a layout in Qt 4 you have to have a QWidget, but if you have a QDialog, you **have** a QWidget.  You do **not** need to create a new QWidget inside the dialog and add a layout to that.+It is true that in order to add a layout in Qt 4 you have to have a QWidget, but if you have a QDialog (for example), you **have** a QWidget.  You do **not** need to create a new QWidget inside the dialog and add a layout to that.
  
 We have a lot of old legacy code like: We have a lot of old legacy code like:
 
 
dev/layout_code.txt ยท Last modified: 2022/05/06 16:07 (external edit)
Recent changes RSS feed Creative Commons License Valid XHTML 1.0 Valid CSS Driven by DokuWiki