27 #define YUILogComponent "qt-ui" 28 #include <yui/YUILog.h> 30 #include "YQReplacePoint.h" 34 : QWidget( (QWidget *) parent->widgetRep() )
35 , YReplacePoint( parent )
43 YWidget * child = firstChild();
48 QWidget * qChild = (QWidget *) child->widgetRep();
52 for ( YWidgetListConstIterator it = child->childrenBegin(); it != child->childrenEnd(); ++it )
55 QWidget * qChild = (QWidget *)ch->widgetRep();
58 qChild = (QWidget *) this->widgetRep();
66 QWidget::setEnabled( enabled );
67 YWidget::setEnabled( enabled );
73 resize( newWidth, newHeight );
74 YReplacePoint::setSize( newWidth, newHeight );
77 #include "YQReplacePoint.moc" virtual void showChild()
Show a newly added child.
virtual void setSize(int newWidth, int newHeight)
Set the new size of the widget.
virtual void setEnabled(bool enabled)
Set enabled/disabled state.
YQReplacePoint(YWidget *parent)
Constructor.