Helpviewer/GreaseMonkey/GreaseMonkeyConfiguration/GreaseMonkeyConfigurationScriptInfoDialog.py

changeset 3002
6ffc581f00f1
parent 2403
e3d7a861547c
child 3022
57179e4cdadd
child 3057
10516539f238
equal deleted inserted replaced
3001:3674ff5fa8f8 3002:6ffc581f00f1
31 @param parent reference to the parent widget (QWidget) 31 @param parent reference to the parent widget (QWidget)
32 """ 32 """
33 super().__init__(parent) 33 super().__init__(parent)
34 self.setupUi(self) 34 self.setupUi(self)
35 35
36 self.iconLabel.setPixmap(UI.PixmapCache.getPixmap("greaseMonkey48.png")) 36 self.iconLabel.setPixmap(
37 UI.PixmapCache.getPixmap("greaseMonkey48.png"))
37 38
38 self.__scriptFileName = script.fileName() 39 self.__scriptFileName = script.fileName()
39 40
40 self.setWindowTitle(self.trUtf8("Script Details of {0}").format(script.name())) 41 self.setWindowTitle(
42 self.trUtf8("Script Details of {0}").format(script.name()))
41 43
42 self.nameLabel.setText(script.fullName()) 44 self.nameLabel.setText(script.fullName())
43 self.versionLabel.setText(script.version()) 45 self.versionLabel.setText(script.version())
44 self.urlLabel.setText(script.downloadUrl().toString()) 46 self.urlLabel.setText(script.downloadUrl().toString())
45 if script.startAt() == GreaseMonkeyScript.DocumentStart: 47 if script.startAt() == GreaseMonkeyScript.DocumentStart:

eric ide

mercurial