eric6.WebBrowser.Download.DownloadAskActionDialog
Module implementing a dialog to ask for a download action.
Global Attributes
Classes
Functions
DownloadAskActionDialog
Class implementing a dialog to ask for a download action.
Derived from
QDialog, Ui_DownloadAskActionDialog
Class Attributes
Class Methods
Methods
Static Methods
DownloadAskActionDialog (Constructor)
DownloadAskActionDialog(fileName, mimeType, baseUrl, parent=None)
Constructor
- fileName
-
file name (string)
- mimeType
-
mime type (string)
- baseUrl
-
URL (string)
- parent
-
reference to the parent widget (QWidget)
DownloadAskActionDialog.getAction
getAction()
Public method to get the selected action.
- Returns:
-
selected action ("save", "open", "scan" or "cancel")