libyui-qt
2.46.13
|
Public Member Functions | |
YQProgressBar (YWidget *parent, const std::string &label, int maxValue=100) | |
Constructor. | |
virtual | ~YQProgressBar () |
Destructor. | |
virtual void | setLabel (const std::string &label) |
Set the label (the caption above the progress bar). More... | |
virtual void | setValue (int newValue) |
Set the current progress value ( <= maxValue() ). 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... | |
virtual bool | setKeyboardFocus () |
Accept the keyboard focus. | |
Protected Attributes | |
YQWidgetCaption * | _caption |
QProgressBar * | _qt_progressbar |
Definition at line 37 of file YQProgressBar.h.
|
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 |
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.