![]() |
| ||
Classes - Annotated - Tree - Functions - Home - Structure |
The QHBox widget provides geometry management for its children. More...
#include <qhbox.h>
Inherits QFrame.
Inherited by QVBox.
All the horizontal box's children will be placed alongside each other and sized according to their sizeHint()s.
Use setMargin() to add space around the edge, and use setSpacing() to add space between the widgets. Use setStretchFactor() if you want the widgets to be different sizes in proportion to one another.
See also QHBoxLayout, QVBox and QGrid.
This constructor is provided for the QVBox class. You should never need to use it directly.
The parent, name and widget flags, f, are passed to the QFrame constructor.
Examples: i18n/mywidget.cpp, listboxcombo/listboxcombo.cpp, network/ftpclient/ftpmainwindow.cpp, qdir/qdir.cpp, tabdialog/tabdialog.cpp, wizard/wizard.cpp and xform/xform.cpp.
See also QBoxLayout::setStretchFactor().
Search the documentation, FAQ, qt-interest archive and more (uses
www.trolltech.com):
This file is part of the Qt toolkit, copyright © 1995-2001 Trolltech, all rights reserved.
Copyright © 2001 Trolltech | Trademarks | Qt version 3.0.0-beta2
|