1 /*---------------------------------------------------------------------\
3 | __ __ ____ _____ ____ |
4 | \ \ / /_ _/ ___|_ _|___ \ |
5 | \ V / _` \___ \ | | __) | |
6 | | | (_| |___) || | / __/ |
7 | |_|\__,_|____/ |_| |_____| |
11 \----------------------------------------------------------------------/
15 Author: Stefan Hundhammer <sh@suse.de>
25 #include "YLayoutBox.h"
28 class YQLayoutBox : public QWidget, public YLayoutBox
37 * Creates a VBox for dim == YD_VERT or a HBox for YD_HORIZ.
39 YQLayoutBox( YWidget * parent, YUIDimension dim );
42 * Set enabled/disabled state.
44 * Reimplemented from YWidget.
46 virtual void setEnabled( bool enabled );
49 * Set the new size of the widget.
51 * Reimplemented from YWidget.
53 virtual void setSize( int newWidth, int newHeight );
56 * Move a child widget to a new position.
58 * Reimplemented from YLayoutBox.
60 virtual void moveChild( YWidget * child, int newX, int newY );
64 typedef YQLayoutBox YQVBox;
65 typedef YQLayoutBox YQHBox;
68 #endif // YQLayoutBox_h