30 #include <yui/YLabel.h> 33 class YQLabel :
public QLabel,
public YLabel
43 const std::string & text,
44 bool isHeading =
false,
45 bool isOutputField =
false );
57 virtual void setText(
const std::string & newText );
92 virtual void setSize(
int newWidth,
int newHeight );
virtual void setText(const std::string &newText)
Set the text the widget displays.
virtual ~YQLabel()
Destructor.
YQLabel(YWidget *parent, const std::string &text, bool isHeading=false, bool isOutputField=false)
Constructor.
virtual int preferredHeight()
Preferred height of the widget.
virtual int preferredWidth()
Preferred width of the widget.
virtual void setUseBoldFont(bool bold)
Switch bold font on or off.
virtual void setEnabled(bool enabled)
Set enabled / disabled state.
virtual void setSize(int newWidth, int newHeight)
Set the new size of the widget.