libyui-qt
2.43.3
|
Public Member Functions | |
YQLabel (YWidget *parent, const std::string &text, bool isHeading=false, bool isOutputField=false) | |
virtual | ~YQLabel () |
virtual void | setText (const std::string &newText) |
virtual void | setUseBoldFont (bool bold) |
virtual void | setEnabled (bool enabled) |
virtual int | preferredWidth () |
virtual int | preferredHeight () |
virtual void | setSize (int newWidth, int newHeight) |
YQLabel::YQLabel | ( | YWidget * | parent, |
const std::string & | text, | ||
bool | isHeading = false , |
||
bool | isOutputField = false |
||
) |
|
virtual |
Destructor.
Definition at line 66 of file YQLabel.cc.
|
virtual |
Preferred height of the widget.
Reimplemented from YWidget.
Definition at line 102 of file YQLabel.cc.
|
virtual |
Preferred width of the widget.
Reimplemented from YWidget.
Definition at line 96 of file YQLabel.cc.
|
virtual |
|
virtual |
Set the new size of the widget.
Reimplemented from YWidget.
Definition at line 108 of file YQLabel.cc.
|
virtual |
Set the text the widget displays.
Reimplemented from YLabel.
Definition at line 72 of file YQLabel.cc.
|
virtual |
Switch bold font on or off.
Reimplemented from YLabel.
Definition at line 79 of file YQLabel.cc.