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)
PyQt4Importer.QComboBox_currentData (static)
QComboBox_currentData(role=None)
        Static method to emulate the currentData method of Qt5.
- other (QComboBox)
- 
reference to the combo box to get the user data of
- role (int)
- 
role of which data should be retrieved
- Returns:
- 
stored data at current selection
- Return Type:
- 
any