1QHBox(3qt)                                                          QHBox(3qt)
2
3
4

NAME

6       QHBox - Horizontal geometry management for its child widgets
7

SYNOPSIS

9       #include <qhbox.h>
10
11       Inherits QFrame.
12
13       Inherited by QVBox.
14
15   Public Members
16       QHBox ( QWidget * parent = 0, const char * name = 0, WFlags f = 0 )
17       void setSpacing ( int space )
18       bool setStretchFactor ( QWidget * w, int stretch )
19
20   Protected Members
21       QHBox ( bool horizontal, QWidget * parent, const char * name, WFlags f
22           = 0 )
23

DESCRIPTION

25       The QHBox widget provides horizontal geometry management for its child
26       widgets.
27
28       All the horizontal box's child widgets will be placed alongside each
29       other and sized according to their sizeHint()s.
30
31       Use setMargin() to add space around the edges, and use setSpacing() to
32       add space between the widgets. Use setStretchFactor() if you want the
33       widgets to be different sizes in proportion to one another. (See
34       Layouts for more information on stretch factors.)
35
36       <center>
37                                   [Image Omitted]
38
39       </center>
40
41       See also QHBoxLayout, QVBox, QGrid, Widget Appearance and Style, Layout
42       Management, and Organizers.
43

MEMBER FUNCTION DOCUMENTATION

QHBox::QHBox ( QWidget * parent = 0, const char * name = 0, WFlags f = 0 )

46       Constructs an hbox widget with parent parent, called name. The parent,
47       name and widget flags, f, are passed to the QFrame constructor.
48

QHBox::QHBox ( bool horizontal, QWidget * parent, const char * name, WFlags f

50       = 0 ) [protected]
51       Constructs a horizontal hbox if horizontal is TRUE, otherwise
52       constructs a vertical hbox (also known as a vbox).
53
54       This constructor is provided for the QVBox class. You should never need
55       to use it directly.
56
57       The parent, name and widget flags, f, are passed to the QFrame
58       constructor.
59

void QHBox::setSpacing ( int space )

61       Sets the spacing between the child widgets to space.
62
63       Examples:
64

bool QHBox::setStretchFactor ( QWidget * w, int stretch )

66       Sets the stretch factor of widget w to stretch. Returns TRUE if w is
67       found. Otherwise returns FALSE.
68
69       See also QBoxLayout::setStretchFactor() and Layouts.
70
71

SEE ALSO

73       http://doc.trolltech.com/qhbox.html
74       http://www.trolltech.com/faq/tech.html
75
77       Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com.  See the
78       license file included in the distribution for a complete license
79       statement.
80

AUTHOR

82       Generated automatically from the source code.
83

BUGS

85       If you find a bug in Qt, please report it as described in
86       http://doc.trolltech.com/bughowto.html.  Good bug reports help us to
87       help you. Thank you.
88
89       The definitive Qt documentation is provided in HTML format; it is
90       located at $QTDIR/doc/html and can be read using Qt Assistant or with a
91       web browser. This man page is provided as a convenience for those users
92       who prefer man pages, although this format is not officially supported
93       by Trolltech.
94
95       If you find errors in this manual page, please report them to qt-
96       bugs@trolltech.com.  Please include the name of the manual page
97       (qhbox.3qt) and the Qt version (3.3.8).
98
99
100
101Trolltech AS                    2 February 2007                     QHBox(3qt)
Impressum