1 /*---------------------------------------------------------------------\
3 | __ __ ____ _____ ____ |
4 | \ \ / /_ _/ ___|_ _|___ \ |
5 | \ V / _` \___ \ | | __) | |
6 | | | (_| |___) || | / __/ |
7 | |_|\__,_|____/ |_| |_____| |
11 \----------------------------------------------------------------------/
15 Author: Stefan Hundhammer <sh@suse.de>
29 class YQFrame : public QGroupBox, public YFrame
38 YQFrame( YWidget * parent,
39 const string & label );
47 * Change the frame label.
49 virtual void setLabel( const string & newLabel );
52 * Set enabled/disabled state.
54 * Reimplemented from YWidget.
56 virtual void setEnabled( bool enabled );
59 * Preferred width of the widget.
61 * Reimplemented from YWidget.
63 virtual int preferredWidth();
66 * Preferred height of the widget.
68 * Reimplemented from YWidget.
70 virtual int preferredHeight();
73 * Set the new size of the widget.
75 * Reimplemented from YWidget.
77 virtual void setSize( int newWidth, int newHeight );