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 );
71 virtual void setAutoWrap(
bool autoWrap =
true );
99 virtual void setSize(
int newWidth,
int newHeight );
103 int _layoutPass1Width;
virtual int preferredWidth()
Preferred width of the widget.
virtual ~YQLabel()
Destructor.
virtual void setEnabled(bool enabled)
Set enabled / disabled state.
virtual void setText(const std::string &newText)
Set the text the widget displays.
virtual int preferredHeight()
Preferred height of the widget.
virtual void setUseBoldFont(bool bold)
Switch bold font on or off.
virtual void setSize(int newWidth, int newHeight)
Set the new size of the widget.
YQLabel(YWidget *parent, const std::string &text, bool isHeading=false, bool isOutputField=false)
Constructor.