Home | All Classes | Main Classes | Annotated | Grouped Classes | Functions

Obsolete Members for QBoxLayout

The following class members are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.

QBoxLayout class reference

Public Functions


Member Function Documentation

QBoxLayout::QBoxLayout ( Direction dir, QLayout * parentLayout )

Constructs a new QBoxLayout, with direction dir, and inserts it into parentLayout.

QBoxLayout::QBoxLayout ( QWidget * parent, Direction dir, int margin = 0, int spacing = -1, const char * name = 0 )

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().

QBoxLayout::QBoxLayout ( QLayout * parentLayout, Direction dir, int spacing = -1, const char * name = 0 )

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().

QBoxLayout::QBoxLayout ( Direction dir, int spacing, const char * name = 0 )

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.


Copyright © 2004 Trolltech. Trademarks
Qt 4.0.0-tp2