libyui-qt  2.46.13
YQLabel Class Reference
Inheritance diagram for YQLabel:
Collaboration diagram for YQLabel:

Public Member Functions

 YQLabel (YWidget *parent, const std::string &text, bool isHeading=false, bool isOutputField=false)
 Constructor.
 
virtual ~YQLabel ()
 Destructor.
 
virtual void setText (const std::string &newText)
 Set the text the widget displays. More...
 
virtual void setUseBoldFont (bool bold)
 Switch bold font on or off. More...
 
virtual void setEnabled (bool enabled)
 Set enabled / disabled state. More...
 
virtual int preferredWidth ()
 Preferred width of the widget. More...
 
virtual int preferredHeight ()
 Preferred height of the widget. More...
 
virtual void setSize (int newWidth, int newHeight)
 Set the new size of the widget. More...
 

Detailed Description

Definition at line 33 of file YQLabel.h.

Member Function Documentation

int YQLabel::preferredHeight ( )
virtual

Preferred height of the widget.

Reimplemented from YWidget.

Definition at line 102 of file YQLabel.cc.

int YQLabel::preferredWidth ( )
virtual

Preferred width of the widget.

Reimplemented from YWidget.

Definition at line 96 of file YQLabel.cc.

void YQLabel::setEnabled ( bool  enabled)
virtual

Set enabled / disabled state.

Reimplemented from YWidget.

Definition at line 89 of file YQLabel.cc.

void YQLabel::setSize ( int  newWidth,
int  newHeight 
)
virtual

Set the new size of the widget.

Reimplemented from YWidget.

Definition at line 108 of file YQLabel.cc.

void YQLabel::setText ( const std::string &  newText)
virtual

Set the text the widget displays.

Reimplemented from YLabel.

Definition at line 72 of file YQLabel.cc.

void YQLabel::setUseBoldFont ( bool  bold)
virtual

Switch bold font on or off.

Reimplemented from YLabel.

Definition at line 79 of file YQLabel.cc.

Here is the call graph for this function:


The documentation for this class was generated from the following files: