Helpviewer/GreaseMonkey/GreaseMonkeyConfiguration/GreaseMonkeyConfigurationScriptInfoDialog.py

branch
Py2 comp.
changeset 3057
10516539f238
parent 2525
8b507a9a2d40
parent 3002
6ffc581f00f1
child 3058
0a02c433f52d
equal deleted inserted replaced
3056:9986ec0e559a 3057:10516539f238
33 @param parent reference to the parent widget (QWidget) 33 @param parent reference to the parent widget (QWidget)
34 """ 34 """
35 super(GreaseMonkeyConfigurationScriptInfoDialog, self).__init__(parent) 35 super(GreaseMonkeyConfigurationScriptInfoDialog, self).__init__(parent)
36 self.setupUi(self) 36 self.setupUi(self)
37 37
38 self.iconLabel.setPixmap(UI.PixmapCache.getPixmap("greaseMonkey48.png")) 38 self.iconLabel.setPixmap(
39 UI.PixmapCache.getPixmap("greaseMonkey48.png"))
39 40
40 self.__scriptFileName = script.fileName() 41 self.__scriptFileName = script.fileName()
41 42
42 self.setWindowTitle(self.trUtf8("Script Details of {0}").format(script.name())) 43 self.setWindowTitle(
44 self.trUtf8("Script Details of {0}").format(script.name()))
43 45
44 self.nameLabel.setText(script.fullName()) 46 self.nameLabel.setText(script.fullName())
45 self.versionLabel.setText(script.version()) 47 self.versionLabel.setText(script.version())
46 self.urlLabel.setText(script.downloadUrl().toString()) 48 self.urlLabel.setText(script.downloadUrl().toString())
47 if script.startAt() == GreaseMonkeyScript.DocumentStart: 49 if script.startAt() == GreaseMonkeyScript.DocumentStart:

eric ide

mercurial