libyui  3.0.10
YSingleChildContainerWidget Class Reference

#include <YSingleChildContainerWidget.h>

Inheritance diagram for YSingleChildContainerWidget:
Collaboration diagram for YSingleChildContainerWidget:

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.

Definition at line 34 of file YSingleChildContainerWidget.h.


Constructor & Destructor Documentation

Constructor.

Definition at line 29 of file YSingleChildContainerWidget.cc.

Here is the call graph for this function:


Member Function Documentation

Preferred height of the widget.

Reimplemented from YWidget.

Implements YWidget.

Reimplemented in YAlignment.

Definition at line 51 of file YSingleChildContainerWidget.cc.

Here is the call graph for this function:

Preferred width of the widget.

Reimplemented from YWidget.

Implements YWidget.

Reimplemented in YAlignment.

Definition at line 42 of file YSingleChildContainerWidget.cc.

Here is the call graph for this function:

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:


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