The following class members are part of the Qt 3 support layer. They are provided to help you port old code to Qt 4. We advise against using them in new code.
QBoxLayout ( QWidget * parent, Direction dir, int margin = 0, int spacing = -1, const char * name = 0 ) | |
QBoxLayout ( QLayout * parentLayout, Direction dir, int spacing = -1, const char * name = 0 ) | |
QBoxLayout ( Direction dir, int spacing, const char * name = 0 ) | |
int | findWidget ( QWidget * widget ) |
Constructs a new QBoxLayout with direction dir and main widget parent. parent may not be 0.
The margin is the number of pixels between the edge of the widget and its managed children. The spacing is the default number of pixels between neighboring children. If spacing is -1 the value of margin is used for spacing.
name is the internal object name.
See also direction().
Constructs a new QBoxLayout called name, with direction dir, and inserts it into parentLayout.
The spacing is the default number of pixels between neighboring children. If spacing is -1, the layout will inherit its parent's spacing().
Constructs a new QBoxLayout called name, with direction dir.
If spacing is -1, the layout will inherit its parent's spacing(); otherwise spacing is used.
You must insert this box into another layout.
Use indexOf(widget) instead.
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.