109 self.__activateAct.setEnabled(autoactivate) |
109 self.__activateAct.setEnabled(autoactivate) |
110 self.__deactivateAct.setEnabled(False) |
110 self.__deactivateAct.setEnabled(False) |
111 self.__menu.popup(self.mapToGlobal(coord)) |
111 self.__menu.popup(self.mapToGlobal(coord)) |
112 |
112 |
113 @pyqtSlot(QTreeWidgetItem, int) |
113 @pyqtSlot(QTreeWidgetItem, int) |
114 def on_pluginList_itemActivated(self, item, column): |
114 def on_pluginList_itemActivated(self, item, _column): |
115 """ |
115 """ |
116 Private slot to show details about a plugin. |
116 Private slot to show details about a plugin. |
117 |
117 |
118 @param item reference to the selected item |
118 @param item reference to the selected item |
119 @type QTreeWidgetItem |
119 @type QTreeWidgetItem |
120 @param column column number |
120 @param _column column number (unused) |
121 @type int |
121 @type int |
122 """ |
122 """ |
123 from .PluginDetailsDialog import PluginDetailsDialog |
123 from .PluginDetailsDialog import PluginDetailsDialog |
124 |
124 |
125 moduleName = item.text(0) |
125 moduleName = item.text(0) |