9 class YWebLabel : public Wt::WLabel, public YLabel
16 YWebLabel( YWidget * parent,
18 bool isHeading = false,
19 bool isOutputField = false );
27 * Set the text the widget displays.
29 * Reimplemented from YLabel.
31 virtual void setText( const string & newText );
34 * Switch bold font on or off.
36 * Reimplemented from YLabel.
38 virtual void setUseBoldFont( bool bold );
41 * Set enabled / disabled state.
43 * Reimplemented from YWidget.
45 virtual void setEnabled( bool enabled );
48 * Preferred width of the widget.
50 * Reimplemented from YWidget.
52 virtual int preferredWidth();
55 * Preferred height of the widget.
57 * Reimplemented from YWidget.
59 virtual int preferredHeight();
62 * Set the new size of the widget.
64 * Reimplemented from YWidget.
66 virtual void setSize( int newWidth, int newHeight );