src/eric7/PluginManager/PluginUninstallDialog.py

branch
eric7
changeset 10428
a071d4065202
parent 10061
8bdad5699288
child 10439
21c28b0f9e41
equal deleted inserted replaced
10427:3733e2b23cf7 10428:a071d4065202
39 def __init__(self, pluginManager, parent=None): 39 def __init__(self, pluginManager, parent=None):
40 """ 40 """
41 Constructor 41 Constructor
42 42
43 @param pluginManager reference to the plugin manager object 43 @param pluginManager reference to the plugin manager object
44 @param parent parent of this dialog (QWidget) 44 @type PluginManager
45 @param parent parent of this dialog
46 @type QWidget
45 """ 47 """
46 super().__init__(parent) 48 super().__init__(parent)
47 self.setupUi(self) 49 self.setupUi(self)
48 50
49 if pluginManager is None: 51 if pluginManager is None:
68 def on_pluginDirectoryCombo_currentIndexChanged(self, index): 70 def on_pluginDirectoryCombo_currentIndexChanged(self, index):
69 """ 71 """
70 Private slot to populate the plugin name combo upon a change of the 72 Private slot to populate the plugin name combo upon a change of the
71 plugin area. 73 plugin area.
72 74
73 @param index index of the selected item (integer) 75 @param index index of the selected item
76 @type int
74 """ 77 """
75 pluginDirectory = self.pluginDirectoryCombo.itemData(index) 78 pluginDirectory = self.pluginDirectoryCombo.itemData(index)
76 pluginNames = sorted(self.__pluginManager.getPluginModules(pluginDirectory)) 79 pluginNames = sorted(self.__pluginManager.getPluginModules(pluginDirectory))
77 80
78 self.pluginsList.clear() 81 self.pluginsList.clear()
255 def __init__(self, pluginManager, parent=None): 258 def __init__(self, pluginManager, parent=None):
256 """ 259 """
257 Constructor 260 Constructor
258 261
259 @param pluginManager reference to the plugin manager object 262 @param pluginManager reference to the plugin manager object
260 @param parent reference to the parent widget (QWidget) 263 @type PluginManager
264 @param parent reference to the parent widget
265 @type QWidget
261 """ 266 """
262 super().__init__(parent) 267 super().__init__(parent)
263 self.setSizeGripEnabled(True) 268 self.setSizeGripEnabled(True)
264 269
265 self.__layout = QVBoxLayout(self) 270 self.__layout = QVBoxLayout(self)
283 288
284 def __init__(self, parent=None): 289 def __init__(self, parent=None):
285 """ 290 """
286 Constructor 291 Constructor
287 292
288 @param parent reference to the parent widget (QWidget) 293 @param parent reference to the parent widget
294 @type QWidget
289 """ 295 """
290 super().__init__(parent) 296 super().__init__(parent)
291 self.cw = PluginUninstallWidget(None, self) 297 self.cw = PluginUninstallWidget(None, self)
292 size = self.cw.size() 298 size = self.cw.size()
293 self.setCentralWidget(self.cw) 299 self.setCentralWidget(self.cw)

eric ide

mercurial