libyui
3.0.10
|
#include <YSingleChildContainerWidget.h>
Public Member Functions | |
virtual | ~YSingleChildContainerWidget () |
virtual int | preferredWidth () |
virtual int | preferredHeight () |
virtual void | setSize (int newWidth, int newHeight) |
virtual bool | stretchable (YUIDimension dim) const |
Protected Member Functions | |
YSingleChildContainerWidget (YWidget *parent) |
Container widget class that manages one child.
Definition at line 34 of file YSingleChildContainerWidget.h.
YSingleChildContainerWidget::YSingleChildContainerWidget | ( | YWidget * | parent | ) | [protected] |
Constructor.
Definition at line 29 of file YSingleChildContainerWidget.cc.
Destructor.
Definition at line 36 of file YSingleChildContainerWidget.cc.
int YSingleChildContainerWidget::preferredHeight | ( | ) | [virtual] |
Preferred height of the widget.
Reimplemented from YWidget.
Implements YWidget.
Reimplemented in YAlignment.
Definition at line 51 of file YSingleChildContainerWidget.cc.
int YSingleChildContainerWidget::preferredWidth | ( | ) | [virtual] |
Preferred width of the widget.
Reimplemented from YWidget.
Implements YWidget.
Reimplemented in YAlignment.
Definition at line 42 of file YSingleChildContainerWidget.cc.
void YSingleChildContainerWidget::setSize | ( | int | newWidth, |
int | newHeight | ||
) | [virtual] |
Set the new size of the widget. In this case, the size of the single child is set.
Reimplemented from YWidget.
Implements YWidget.
Reimplemented in YAlignment.
Definition at line 60 of file YSingleChildContainerWidget.cc.
bool YSingleChildContainerWidget::stretchable | ( | YUIDimension | dim | ) | const [virtual] |
Returns 'true' if this widget is stretchable in the specified dimension. In this case, the stretchability of the single child is returned.
Reimplemented from YWidget.
Reimplemented from YWidget.
Reimplemented in YAlignment, and YSquash.
Definition at line 68 of file YSingleChildContainerWidget.cc.