libyui-qt  2.49.2
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...
 

Protected Member Functions

void ensureChildrenVisible ()
 Go through the (direct) YWidget children list and make sure the corresponding QWidget is visible.
 

Protected Attributes

bool _needToEnsureChildrenVisible
 

Detailed Description

Definition at line 34 of file YQLayoutBox.h.

Constructor & Destructor Documentation

◆ YQLayoutBox()

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

◆ moveChild()

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

Move a child widget to a new position.

Reimplemented from YLayoutBox.

Definition at line 77 of file YQLayoutBox.cc.

◆ setEnabled()

void YQLayoutBox::setEnabled ( bool  enabled)
virtual

Set enabled/disabled state.

Reimplemented from YWidget.

Definition at line 47 of file YQLayoutBox.cc.

◆ setSize()

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

Set the new size of the widget.

Reimplemented from YWidget.

Definition at line 54 of file YQLayoutBox.cc.

Here is the call graph for this function:

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