Home · All Classes · All Functions · Overviews

Q3HBoxLayout Class Reference
[Qt3Support module]

The Q3HBoxLayout class lines up widgets horizontally. More...

 #include <Q3HBoxLayout>

This class is part of the Qt 3 support library. It is provided to keep old source code working. We strongly advise against using it in new code. See Porting to Qt 4 for more information.

Inherits QBoxLayout.


Public Functions

Q3HBoxLayout ( QWidget * parent, int margin, int spacing = -1, const char * name = 0 )
Q3HBoxLayout ( QLayout * parentLayout, int spacing = -1, const char * name = 0 )
Q3HBoxLayout ( int spacing, const char * name = 0 )

Additional Inherited Members


Detailed Description

The Q3HBoxLayout class lines up widgets horizontally.

See also Q3VBoxLayout.


Member Function Documentation

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

Constructs a new top-level horizontal box called name, with parent parent. 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.

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

Constructs a new horizontal box called name and adds it to parentLayout. The spacing is the default number of pixels between neighboring children. If spacing is -1, this Q3HBoxLayout will inherit its parent's spacing.

Q3HBoxLayout::Q3HBoxLayout ( int spacing, const char * name = 0 )

Constructs a new horizontal box called name. You must add it to another layout. The spacing is the default number of pixels between neighboring children. If spacing is -1, this QHBoxLayout will inherit its parent's spacing().


Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies) Trademarks
Qt 4.6.3