The DownloadRenderer class provides a dialog for saving a remote URL to a local file. More...
Publicly inherits QWidget.
DownloadRenderer | ( const Url& remote ); |
void | data | ( const char* bytes, int length ); |
void | endOfData | ( ); |
void | startOfData | ( Request* req, QString mediaType, QString mediaSubtype, int totalSize ); |
void | status | ( QString msg ); |
void | urlChanged | ( const Url& url ); |
void | resizeEvent | ( QResizeEvent* e ); |
FILE* | _fp; |
QLabel* | _localLabel; |
QLabel* | _localValue; |
TransferLogo* | _logo; |
ProgressBar* | _progress; |
QLabel* | _remoteLabel; |
QLabel* | _remoteValue; |
Request* | _request; |
QFrame* | _separator; |
QLabel* | _status; |
QPushButton* | _stop; |
int | _totalRead; |
int | _totalSize; |
The DownloadRenderer class provides a dialog for saving a remote URL to a local file.
The dialog shows the remote source and local destination, an animated transfer icon, and a progress bar. The transfer can be aborted at any time if the user presses the "Stop" button.Popup a QFileDlg to get a local file name, and create a request for the remote URL.