26 #define YUILogComponent "qt-ui"
27 #include <yui/YUILog.h>
28 #include "YQLayoutBox.h"
32 YUIDimension dimension )
33 : QWidget( (QWidget *) parent->widgetRep() )
34 , YLayoutBox( parent, dimension )
48 QWidget::setEnabled( enabled );
49 YWidget::setEnabled( enabled );
56 resize( newWidth, newHeight );
57 YLayoutBox::setSize( newWidth, newHeight );
63 QWidget * qw = (QWidget *)( child->widgetRep() );
64 qw->move( newX, newY );
68 #include "YQLayoutBox.moc"
YQLayoutBox(YWidget *parent, YUIDimension dim)
Constructor.
virtual ~YQLayoutBox()
Destructor.
virtual void setEnabled(bool enabled)
Set enabled/disabled state.
virtual void moveChild(YWidget *child, int newX, int newY)
Move a child widget to a new position.
virtual void setSize(int newWidth, int newHeight)
Set the new size of the widget.