Guest User

Untitled

a guest
Dec 17th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.31 KB | None | 0 0
  1.     self.actionRun = QAction(QIcon(":/plugins/plugin_reloader/reload.png"), u"Reload chosen plugin", self.iface.mainWindow())
  2.     self.actionRun.setWhatsThis(u"Reload chosen plugin")
  3.     self.iface.addPluginToMenu("&Plugin Reloader", self.actionRun)
  4.     QObject.connect(self.actionRun, SIGNAL("triggered()"), self.run)
Add Comment
Please, Sign In to add comment