libyui-qt  2.42.4
 All Classes Functions Variables
YQLabel Class Reference
Inheritance diagram for YQLabel:

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)
 

Detailed Description

Definition at line 33 of file YQLabel.h.

Constructor & Destructor Documentation

YQLabel::YQLabel ( YWidget *  parent,
const std::string &  text,
bool  isHeading = false,
bool  isOutputField = false 
)

Constructor.

Definition at line 37 of file YQLabel.cc.

YQLabel::~YQLabel ( )
virtual

Destructor.

Definition at line 66 of file YQLabel.cc.

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.


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