eric6.Toolbox.PyQt4ImportHook
Module implementing an import hook converting PyQt5 imports to PyQt4 imports.
Global Attributes
Classes
PyQt4Importer |
Class implementing an importer converting PyQt5 imports to PyQt4 imports. |
Functions
PyQt4Importer
Class implementing an importer converting PyQt5 imports to PyQt4
imports.
Derived from
object
Class Attributes
Class Methods
Methods
Static Methods
PyQt4Importer (Constructor)
PyQt4Importer()
Constructor
PyQt4Importer.find_module
find_module(fullname, path=None)
Public method returning the module loader.
- fullname
-
name of the module to be loaded (string)
- path
-
path to resolve the module name (string)
- Returns:
-
module loader object
PyQt4Importer.load_module
load_module(fullname)
Public method to load a module.
- fullname
-
name of the module to be loaded (string)
- Returns:
-
reference to the loaded module (module)