Eneboo - Documentación para desarrolladores
|
The QHBox widget provides horizontal geometry management for its child widgets. Más...
#include <qhbox.h>
Métodos públicos | |
QHBox (QWidget *parent=0, const char *name=0, WFlags f=0) | |
void | setSpacing (int) |
bool | setStretchFactor (QWidget *, int stretch) |
QSize | sizeHint () const |
QHBox (QWidget *parent=0, const char *name=0, WFlags f=0) | |
void | setSpacing (int) |
bool | setStretchFactor (QWidget *, int stretch) |
QSize | sizeHint () const |
Métodos protegidos | |
QHBox (bool horizontal, QWidget *parent, const char *name, WFlags f=0) | |
void | frameChanged () |
QHBox (bool horizontal, QWidget *parent, const char *name, WFlags f=0) | |
void | frameChanged () |
The QHBox widget provides horizontal geometry management for its child widgets.
All the horizontal box's child widgets will be placed alongside each other and sized according to their sizeHint()s.
Use setMargin() to add space around the edges, 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 Layouts for more information on stretch factors.)
qhbox-m.png QHBox
Constructs an hbox widget with parent parent, called name. The parent, name and widget flags, f, are passed to the QFrame constructor.
void QHBox::frameChanged | ( | ) | [protected, virtual] |
Reimplementado de QFrame.
void QHBox::frameChanged | ( | ) | [protected, virtual] |
void QHBox::setSpacing | ( | int | space | ) |
Sets the spacing between the child widgets to space.
void QHBox::setSpacing | ( | int | ) |
Sets the stretch factor of widget w to stretch. Returns TRUE if w is found. Otherwise returns FALSE.