◆ YQDownloadProgress()
YQDownloadProgress::YQDownloadProgress |
( |
YWidget * | parent, |
|
|
const std::string & | label, |
|
|
const std::string & | filename, |
|
|
YFileSize_t | expectedSize ) |
◆ ~YQDownloadProgress()
YQDownloadProgress::~YQDownloadProgress |
( |
| ) |
|
|
virtual |
◆ pollFileSize
void YQDownloadProgress::pollFileSize |
( |
void | | ) |
|
|
slot |
Slot for polling and displaying the file size.
◆ preferredHeight()
int YQDownloadProgress::preferredHeight |
( |
| ) |
|
|
virtual |
Preferred height of the widget.
Reimplemented from YWidget.
◆ preferredWidth()
int YQDownloadProgress::preferredWidth |
( |
| ) |
|
|
virtual |
Preferred width of the widget.
Reimplemented from YWidget.
◆ setEnabled()
void YQDownloadProgress::setEnabled |
( |
bool | enabled | ) |
|
|
virtual |
Set enabled/disabled state.
Reimplemented from YWidget.
◆ setExpectedSize()
void YQDownloadProgress::setExpectedSize |
( |
YFileSize_t | expectedSize | ) |
|
|
virtual |
Change the expected file size.
Reimplemented from YDownloadProgress.
◆ setFilename()
void YQDownloadProgress::setFilename |
( |
const std::string & | filename | ) |
|
|
virtual |
Set the name of a new file to monitor.
Reimplemented from YDownloadProgress.
◆ setLabel()
void YQDownloadProgress::setLabel |
( |
const std::string & | label | ) |
|
|
virtual |
Set the label (the text above the progress bar).
Reimplemented from YDownloadProgress.
◆ setSize()
void YQDownloadProgress::setSize |
( |
int | newWidth, |
|
|
int | newHeight ) |
|
virtual |
Set the new size of the widget.
Reimplemented from YWidget.
The documentation for this class was generated from the following files:
- /builddir/build/BUILD/libyui-4.6.2-build/libyui-4.6.2/libyui-qt/src/YQDownloadProgress.h
- /builddir/build/BUILD/libyui-4.6.2-build/libyui-4.6.2/libyui-qt/src/YQDownloadProgress.cc