eric7.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 (str)
-
file name
- mimeType (str)
-
mime type
- baseUrl (str)
-
URL
- parent (QWidget)
-
reference to the parent widget
DownloadAskActionDialog.getAction
getAction()
Public method to get the selected action.
- Return:
-
selected action ("save", "open", "scan" or "cancel")
- Return Type:
-
str