libyui-qt  2.44.0
 All Classes Functions Variables
YQProgressBar Class Reference
Inheritance diagram for YQProgressBar:
Collaboration diagram for YQProgressBar:

Public Member Functions

 YQProgressBar (YWidget *parent, const std::string &label, int maxValue=100)
 
virtual ~YQProgressBar ()
 
virtual void setLabel (const std::string &label)
 
virtual void setValue (int newValue)
 
virtual void setEnabled (bool enabled)
 
virtual int preferredWidth ()
 
virtual int preferredHeight ()
 
virtual void setSize (int newWidth, int newHeight)
 
virtual bool setKeyboardFocus ()
 

Protected Attributes

YQWidgetCaption_caption
 
QProgressBar * _qt_progressbar
 

Detailed Description

Definition at line 37 of file YQProgressBar.h.

Constructor & Destructor Documentation

YQProgressBar::YQProgressBar ( YWidget *  parent,
const std::string &  label,
int  maxValue = 100 
)

Constructor.

Definition at line 41 of file YQProgressBar.cc.

YQProgressBar::~YQProgressBar ( )
virtual

Destructor.

Definition at line 68 of file YQProgressBar.cc.

Member Function Documentation

int YQProgressBar::preferredHeight ( )
virtual

Preferred height of the widget.

Reimplemented from YWidget.

Definition at line 106 of file YQProgressBar.cc.

int YQProgressBar::preferredWidth ( )
virtual

Preferred width of the widget.

Reimplemented from YWidget.

Definition at line 97 of file YQProgressBar.cc.

void YQProgressBar::setEnabled ( bool  enabled)
virtual

Set enabled/disabled state.

Reimplemented from YWidget.

Definition at line 89 of file YQProgressBar.cc.

bool YQProgressBar::setKeyboardFocus ( )
virtual

Accept the keyboard focus.

Definition at line 118 of file YQProgressBar.cc.

void YQProgressBar::setLabel ( const std::string &  label)
virtual

Set the label (the caption above the progress bar).

Reimplemented from YProgressBar.

Definition at line 74 of file YQProgressBar.cc.

Here is the call graph for this function:

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

Set the new size of the widget.

Reimplemented from YWidget.

Definition at line 112 of file YQProgressBar.cc.

void YQProgressBar::setValue ( int  newValue)
virtual

Set the current progress value ( <= maxValue() ).

Reimplemented from YProgressBar.

Definition at line 81 of file YQProgressBar.cc.


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