A dialog box that is used to process file links.
More...
#include <QtxWebBrowser.h>
A dialog box that is used to process file links.
◆ anonymous enum
◆ Downloader()
| QtxWebBrowser::Downloader::Downloader |
( |
const QString & |
fileName, |
|
|
int |
action = mOpen, |
|
|
const QString & |
program = QString(), |
|
|
QWidget * |
parent = 0 |
|
) |
| |
◆ ~Downloader()
| QtxWebBrowser::Downloader::~Downloader |
( |
| ) |
|
◆ action()
| int QtxWebBrowser::Downloader::action |
( |
| ) |
const |
Get action selected by the user.
- Returns
- action being selected:
- 0: open file
- 1: save file
◆ browse
| void QtxWebBrowser::Downloader::browse |
( |
| ) |
|
|
privateslot |
Browse program to be used to open the file.
◆ isRepeatAction()
| bool QtxWebBrowser::Downloader::isRepeatAction |
( |
| ) |
const |
Get "repeat action for all such files" flag status.
- Returns
true if chosen action should be automatically done for all files of given type or false otherwise
◆ program()
| QString QtxWebBrowser::Downloader::program |
( |
| ) |
const |
Get program to be used to open chosen file.
- Returns
- path to the program
◆ setAction
| void QtxWebBrowser::Downloader::setAction |
( |
int |
action | ) |
|
|
privateslot |
Set current action.
- Parameters
-
| action | action to be done for the file:
- 0: open file
- 1: save file
|
◆ QtxWebBrowser
◆ myAction
| QButtonGroup* QtxWebBrowser::Downloader::myAction |
|
private |
◆ myBrowse
| QPushButton* QtxWebBrowser::Downloader::myBrowse |
|
private |
◆ myFileName
| QLabel* QtxWebBrowser::Downloader::myFileName |
|
private |
◆ myProgram
| QString QtxWebBrowser::Downloader::myProgram |
|
private |
◆ myRepeat
| QCheckBox* QtxWebBrowser::Downloader::myRepeat |
|
private |
The documentation for this class was generated from the following files: