|
libyui-qt
2.52.4
|


Public Slots | |
| void | pollFileSize (void) |
| Slot for polling and displaying the file size. | |
Public Member Functions | |
| YQDownloadProgress (YWidget *parent, const std::string &label, const std::string &filename, YFileSize_t expectedSize) | |
| Constructor. | |
| virtual | ~YQDownloadProgress () |
| Destructor. | |
| virtual void | setLabel (const std::string &label) |
| Set the label (the text above the progress bar). More... | |
| virtual void | setFilename (const std::string &filename) |
| Set the name of a new file to monitor. More... | |
| virtual void | setExpectedSize (YFileSize_t expectedSize) |
| Change the expected file size. 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... | |
Protected Attributes | |
| YQWidgetCaption * | _caption |
| QProgressBar * | _qt_progressBar |
| QTimer * | _timer |
Definition at line 36 of file YQDownloadProgress.h.
|
virtual |
Preferred height of the widget.
Reimplemented from YWidget.
Definition at line 130 of file YQDownloadProgress.cc.
|
virtual |
Preferred width of the widget.
Reimplemented from YWidget.
Definition at line 123 of file YQDownloadProgress.cc.
|
virtual |
Set enabled/disabled state.
Reimplemented from YWidget.
Definition at line 114 of file YQDownloadProgress.cc.
|
virtual |
Change the expected file size.
Reimplemented from YDownloadProgress.
Definition at line 99 of file YQDownloadProgress.cc.
|
virtual |
Set the name of a new file to monitor.
Reimplemented from YDownloadProgress.
Definition at line 91 of file YQDownloadProgress.cc.
|
virtual |
Set the label (the text above the progress bar).
Reimplemented from YDownloadProgress.
Definition at line 83 of file YQDownloadProgress.cc.

|
virtual |
Set the new size of the widget.
Reimplemented from YWidget.
Definition at line 137 of file YQDownloadProgress.cc.