libyui-qt
 
Loading...
Searching...
No Matches
YQLayoutBox Class Reference
Inheritance diagram for YQLayoutBox:
Collaboration diagram for YQLayoutBox:

Public Member Functions

 YQLayoutBox (YWidget *parent, YUIDimension dim)
 
virtual ~YQLayoutBox ()
 
virtual void setEnabled (bool enabled)
 
virtual void setSize (int newWidth, int newHeight)
 
virtual void moveChild (YWidget *child, int newX, int newY)
 

Protected Member Functions

void ensureChildrenVisible ()
 

Protected Attributes

bool _needToEnsureChildrenVisible
 

Constructor & Destructor Documentation

◆ YQLayoutBox()

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

Constructor.

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

◆ ~YQLayoutBox()

YQLayoutBox::~YQLayoutBox ( )
virtual

Destructor.

Member Function Documentation

◆ ensureChildrenVisible()

void YQLayoutBox::ensureChildrenVisible ( )
protected

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

◆ moveChild()

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

Move a child widget to a new position.

Reimplemented from YLayoutBox.

◆ setEnabled()

void YQLayoutBox::setEnabled ( bool enabled)
virtual

Set enabled/disabled state.

Reimplemented from YWidget.

◆ setSize()

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

Set the new size of the widget.

Reimplemented from YWidget.


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