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: |