eric7.WebBrowser.GreaseMonkey.GreaseMonkeyDownloader
Module implementing the downloader for GreaseMonkey scripts.
Global Attributes
Classes
Functions
GreaseMonkeyDownloadType
Class defining the download types.
Derived from
enum.Enum
Class Attributes
Class Methods
Methods
Static Methods
GreaseMonkeyDownloader
Class implementing the downloader for GreaseMonkey scripts.
Signals
- error()
-
emitted to indicate a script download error
- finished(fileName)
-
emitted to indicate the end of a script download
(str)
Derived from
QObject
Class Attributes
Class Methods
Methods
Static Methods
GreaseMonkeyDownloader (Constructor)
GreaseMonkeyDownloader(url, manager, mode)
Constructor
- url (QUrl)
-
URL to download script from
- manager (GreaseMonkeyManager)
-
reference to the GreaseMonkey manager
- mode (GreaseMonkeyDownloadType)
-
download mode
GreaseMonkeyDownloader.__requireDownloaded
__requireDownloaded()
Private slot to handle the finished download of a required script.
GreaseMonkeyDownloader.__scriptDownloaded
__scriptDownloaded()
Private slot to handle the finished download of a script.
GreaseMonkeyDownloader.updateScript
updateScript(fileName)
Public method to set the file name for the script to be downloaded.
- fileName (str)
-
file name for the script