Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Examples

YEmpty Class Reference

Implementation of the Empty, HStretch, VStretch, and HVStretch widgets. More...

#include <YEmpty.h>

Inheritance diagram for YEmpty:

YWidget List of all members.

Public Member Functions

 YEmpty (const YWidgetOpt &opt)
virtual char * widgetClass ()
long nicesize (YUIDimension dim)
bool isLayoutStretch (YUIDimension dim) const

Detailed Description

Implementation of the Empty, HStretch, VStretch, and HVStretch widgets.

Empty HStretch VStretch HVStretch

`HStretch() HStretch1.ycp Layout-Buttons-Equal-Even-Spaced1.ycp

These four widgets denote an empty place in the dialog. They differ in whether they are stretchable or not. Empty is not stretchable in either direction. It can be used in a `ReplacePoint, when currently no real widget should be displayed. HStretch and VStretch are stretchable horizontally or vertically resp., HVStretch is stretchable in both directions. You can use them to control the layout.

See the Layout HOWTO for details.


Constructor & Destructor Documentation

YEmpty::YEmpty const YWidgetOpt opt  ) 
 

Constructor


Member Function Documentation

bool YEmpty::isLayoutStretch YUIDimension  dim  )  const [virtual]
 

Returns true if this is a layout stretch space in dimension "dim". Such widgets will receive special treatment in layout calculations. Inherited from YWidget.

Reimplemented from YWidget.

long YEmpty::nicesize YUIDimension  dim  )  [virtual]
 

Minimum size the widget should have to make it look and feel nice. This is 0 for the empty widget.

Parameters:
dim Dimension, either YD_HORIZ or YD_VERT

Implements YWidget.

virtual char* YEmpty::widgetClass  )  [inline, virtual]
 

Returns a descriptive name of this widget class for logging, debugging etc.

Reimplemented from YWidget.


The documentation for this class was generated from the following files:
Generated on Fri Nov 9 18:15:25 2007 for yast2-core by doxygen 1.3.6