libyui
|
#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.
YSingleChildContainerWidget::YSingleChildContainerWidget | ( | YWidget * | parent | ) | [protected] |
Constructor.
YSingleChildContainerWidget::~YSingleChildContainerWidget | ( | ) | [virtual] |
Destructor.
int YSingleChildContainerWidget::preferredHeight | ( | ) | [virtual] |
Preferred height of the widget.
Reimplemented from YWidget.
Implements YWidget.
Reimplemented in YAlignment.
int YSingleChildContainerWidget::preferredWidth | ( | ) | [virtual] |
Preferred width of the widget.
Reimplemented from YWidget.
Implements YWidget.
Reimplemented in YAlignment.
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.
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.