libyui-qt
2.49.2
|
Public Member Functions | |
YQLayoutBox (YWidget *parent, YUIDimension dim) | |
Constructor. More... | |
virtual | ~YQLayoutBox () |
Destructor. | |
virtual void | setEnabled (bool enabled) |
Set enabled/disabled state. More... | |
virtual void | setSize (int newWidth, int newHeight) |
Set the new size of the widget. More... | |
virtual void | moveChild (YWidget *child, int newX, int newY) |
Move a child widget to a new position. More... | |
Protected Member Functions | |
void | ensureChildrenVisible () |
Go through the (direct) YWidget children list and make sure the corresponding QWidget is visible. | |
Protected Attributes | |
bool | _needToEnsureChildrenVisible |
Definition at line 34 of file YQLayoutBox.h.
YQLayoutBox::YQLayoutBox | ( | YWidget * | parent, |
YUIDimension | dim | ||
) |
Constructor.
Creates a VBox for dim == YD_VERT or a HBox for YD_HORIZ.
Definition at line 31 of file YQLayoutBox.cc.
|
virtual |
Move a child widget to a new position.
Reimplemented from YLayoutBox.
Definition at line 77 of file YQLayoutBox.cc.
|
virtual |
Set enabled/disabled state.
Reimplemented from YWidget.
Definition at line 47 of file YQLayoutBox.cc.
|
virtual |
Set the new size of the widget.
Reimplemented from YWidget.
Definition at line 54 of file YQLayoutBox.cc.