libyui-qt
2.49.2
|
Public Member Functions | |
YQBusyIndicator (YWidget *parent, const std::string &label, int timeout=1000) | |
Constructor. | |
virtual | ~YQBusyIndicator () |
Destructor. | |
virtual void | setLabel (const std::string &label) |
Set the label (the caption above the progress bar). More... | |
virtual void | setTimeout (int newTimeout) |
Set the timeout is ms after that the widget shows 'stalled' when no new tick is received. More... | |
int | timeout () const |
Return the timeout is ms after that the widget shows 'stalled' when no new tick is received. More... | |
virtual void | setAlive (bool newAlive) |
Send a keep allive message. 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 |
BusyBar * | _bar |
QTimer * | _timer |
int | _timeout |
Definition at line 39 of file YQBusyIndicator.h.
|
virtual |
Preferred height of the widget.
Reimplemented from YWidget.
Definition at line 210 of file YQBusyIndicator.cc.
|
virtual |
Preferred width of the widget.
Reimplemented from YWidget.
Definition at line 201 of file YQBusyIndicator.cc.
|
virtual |
Send a keep allive message.
Reimplemented from YBusyIndicator.
Definition at line 163 of file YQBusyIndicator.cc.
|
virtual |
Set enabled/disabled state.
Reimplemented from YWidget.
Definition at line 193 of file YQBusyIndicator.cc.
|
virtual |
Set the label (the caption above the progress bar).
Reimplemented from YBusyIndicator.
Definition at line 156 of file YQBusyIndicator.cc.
|
virtual |
Set the new size of the widget.
Reimplemented from YWidget.
Definition at line 216 of file YQBusyIndicator.cc.
|
virtual |
Set the timeout is ms after that the widget shows 'stalled' when no new tick is received.
Reimplemented from YBusyIndicator.
Definition at line 186 of file YQBusyIndicator.cc.
|
inline |
Return the timeout is ms after that the widget shows 'stalled' when no new tick is received.
Reimplemented from YBusyIndicator.
Definition at line 76 of file YQBusyIndicator.h.