2177 self.pluginRepoAct.setWhatsThis(self.trUtf8( |
2177 self.pluginRepoAct.setWhatsThis(self.trUtf8( |
2178 """<b>Plugin Repository...</b>""" |
2178 """<b>Plugin Repository...</b>""" |
2179 """<p>This opens a dialog, that shows a list of plugins """ |
2179 """<p>This opens a dialog, that shows a list of plugins """ |
2180 """available on the Internet.</p>""" |
2180 """available on the Internet.</p>""" |
2181 )) |
2181 )) |
2182 self.pluginRepoAct.triggered[()].connect(self.__showPluginsAvailable) |
2182 self.pluginRepoAct.triggered[()].connect(self.showPluginsAvailable) |
2183 self.actions.append(self.pluginRepoAct) |
2183 self.actions.append(self.pluginRepoAct) |
2184 |
2184 |
2185 # initialize viewmanager actions |
2185 # initialize viewmanager actions |
2186 self.viewmanager.initActions() |
2186 self.viewmanager.initActions() |
2187 |
2187 |
5599 """ |
5599 """ |
5600 from PluginManager.PluginUninstallDialog import PluginUninstallDialog |
5600 from PluginManager.PluginUninstallDialog import PluginUninstallDialog |
5601 dlg = PluginUninstallDialog(self.pluginManager, self) |
5601 dlg = PluginUninstallDialog(self.pluginManager, self) |
5602 dlg.exec_() |
5602 dlg.exec_() |
5603 |
5603 |
5604 def __showPluginsAvailable(self): |
5604 def showPluginsAvailable(self): |
5605 """ |
5605 """ |
5606 Private slot to show the plugins available for download. |
5606 Public slot to show the plugins available for download. |
5607 """ |
5607 """ |
5608 from PluginManager.PluginRepositoryDialog import PluginRepositoryDialog |
5608 from PluginManager.PluginRepositoryDialog import PluginRepositoryDialog |
5609 dlg = PluginRepositoryDialog(self) |
5609 dlg = PluginRepositoryDialog(self) |
5610 res = dlg.exec_() |
5610 res = dlg.exec_() |
5611 if res == (QDialog.Accepted + 1): |
5611 if res == (QDialog.Accepted + 1): |