libyui-qt  2.46.13
YQLayoutBox Class Reference
Inheritance diagram for YQLayoutBox:
Collaboration diagram for YQLayoutBox:

Public Member Functions

 YQLayoutBox (YWidget *parent, YUIDimension dim)
 Constructor. More...
 
virtual ~YQLayoutBox ()
 Destructor.
 
virtual void setEnabled (bool enabled)
 Set enabled/disabled state. More...
 
virtual void setSize (int newWidth, int newHeight)
 Set the new size of the widget. More...
 
virtual void moveChild (YWidget *child, int newX, int newY)
 Move a child widget to a new position. More...
 

Detailed Description

Definition at line 34 of file YQLayoutBox.h.

Constructor & Destructor Documentation

YQLayoutBox::YQLayoutBox ( YWidget *  parent,
YUIDimension  dim 
)

Constructor.

Creates a VBox for dim == YD_VERT or a HBox for YD_HORIZ.

Definition at line 31 of file YQLayoutBox.cc.

Member Function Documentation

void YQLayoutBox::moveChild ( YWidget *  child,
int  newX,
int  newY 
)
virtual

Move a child widget to a new position.

Reimplemented from YLayoutBox.

Definition at line 61 of file YQLayoutBox.cc.

void YQLayoutBox::setEnabled ( bool  enabled)
virtual

Set enabled/disabled state.

Reimplemented from YWidget.

Definition at line 46 of file YQLayoutBox.cc.

void YQLayoutBox::setSize ( int  newWidth,
int  newHeight 
)
virtual

Set the new size of the widget.

Reimplemented from YWidget.

Definition at line 53 of file YQLayoutBox.cc.


The documentation for this class was generated from the following files: