libyui
Public Member Functions | Protected Member Functions

YSingleChildContainerWidget Class Reference

#include <YSingleChildContainerWidget.h>

Inheritance diagram for YSingleChildContainerWidget:
YWidget YAlignment YCheckBoxFrame YDialog YFrame YRadioButtonGroup YReplacePoint YSquash

List of all members.

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)

Detailed Description

Container widget class that manages one child.


Constructor & Destructor Documentation

YSingleChildContainerWidget::YSingleChildContainerWidget ( YWidget parent) [protected]

Constructor.

YSingleChildContainerWidget::~YSingleChildContainerWidget ( ) [virtual]

Destructor.


Member Function Documentation

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.


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations Friends