libyui-qt
2.46.1
|
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 |
Definition at line 37 of file YQProgressBar.h.
YQProgressBar::YQProgressBar | ( | YWidget * | parent, |
const std::string & | label, | ||
int | maxValue = 100 |
||
) |
Constructor.
Definition at line 41 of file YQProgressBar.cc.
|
virtual |
Destructor.
Definition at line 68 of file YQProgressBar.cc.
|
virtual |
Preferred height of the widget.
Reimplemented from YWidget.
Definition at line 106 of file YQProgressBar.cc.
|
virtual |
Preferred width of the widget.
Reimplemented from YWidget.
Definition at line 97 of file YQProgressBar.cc.
|
virtual |
Set enabled/disabled state.
Reimplemented from YWidget.
Definition at line 89 of file YQProgressBar.cc.
|
virtual |
Accept the keyboard focus.
Definition at line 118 of file YQProgressBar.cc.
|
virtual |
Set the label (the caption above the progress bar).
Reimplemented from YProgressBar.
Definition at line 74 of file YQProgressBar.cc.
|
virtual |
Set the new size of the widget.
Reimplemented from YWidget.
Definition at line 112 of file YQProgressBar.cc.
|
virtual |
Set the current progress value ( <= maxValue() ).
Reimplemented from YProgressBar.
Definition at line 81 of file YQProgressBar.cc.