libyui-qt
2.47.1.1
|
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 127 of file YQDownloadProgress.cc.
|
virtual |
Preferred width of the widget.
Reimplemented from YWidget.
Definition at line 120 of file YQDownloadProgress.cc.
|
virtual |
Set enabled/disabled state.
Reimplemented from YWidget.
Definition at line 111 of file YQDownloadProgress.cc.
|
virtual |
Change the expected file size.
Reimplemented from YDownloadProgress.
Definition at line 96 of file YQDownloadProgress.cc.
|
virtual |
Set the name of a new file to monitor.
Reimplemented from YDownloadProgress.
Definition at line 88 of file YQDownloadProgress.cc.
|
virtual |
Set the label (the text above the progress bar).
Reimplemented from YDownloadProgress.
Definition at line 80 of file YQDownloadProgress.cc.
|
virtual |
Set the new size of the widget.
Reimplemented from YWidget.
Definition at line 134 of file YQDownloadProgress.cc.