eric7.PluginManager.PluginUninstallDialog
Module implementing a dialog for plugin deinstallation.
Global Attributes
Classes
Functions
PluginUninstallDialog
Class for the dialog variant.
Derived from
QDialog
Class Attributes
Class Methods
Methods
Static Methods
PluginUninstallDialog (Constructor)
PluginUninstallDialog(pluginManager, parent=None)
Constructor
- pluginManager (PluginManager)
-
reference to the plugin manager object
- parent (QWidget)
-
reference to the parent widget
PluginUninstallWidget
Class implementing a dialog for plugin deinstallation.
Signals
- accepted()
-
emitted to indicate the removal of a plug-in
Derived from
QWidget, Ui_PluginUninstallDialog
Class Attributes
Class Methods
Methods
Static Methods
PluginUninstallWidget (Constructor)
PluginUninstallWidget(pluginManager, parent=None)
Constructor
- pluginManager (PluginManager)
-
reference to the plugin manager object
- parent (QWidget)
-
parent of this dialog
PluginUninstallWidget.__getCheckedPlugins
__getCheckedPlugins()
Private method to get the list of plugins to be uninstalled.
- Return:
-
list of tuples with the plugin name and plugin file name
- Return Type:
-
list of tuples of (str, str)
PluginUninstallWidget.__uninstallPlugin
__uninstallPlugin(pluginName, pluginFile)
Private method to uninstall a given plugin.
- pluginName (str)
-
name of the plugin
- pluginFile (str)
-
file name of the plugin
- Return:
-
flag indicating success
- Return Type:
-
bool
PluginUninstallWidget.__uninstallPlugins
__uninstallPlugins()
Private method to uninstall the selected plugins.
- Return:
-
flag indicating success
- Return Type:
-
bool
PluginUninstallWidget.on_buttonBox_accepted
on_buttonBox_accepted()
Private slot to handle the accepted signal of the button box.
PluginUninstallWidget.on_pluginDirectoryCombo_currentIndexChanged
on_pluginDirectoryCombo_currentIndexChanged(index)
Private slot to populate the plugin name combo upon a change of the
plugin area.
- index (int)
-
index of the selected item
PluginUninstallWindow
Main window class for the standalone dialog.
Derived from
EricMainWindow
Class Attributes
Class Methods
Methods
Static Methods
PluginUninstallWindow (Constructor)
PluginUninstallWindow(parent=None)
Constructor
- parent (QWidget)
-
reference to the parent widget