2523:139f182b72f6 | 2525:8b507a9a2d40 |
---|---|
4 # | 4 # |
5 | 5 |
6 """ | 6 """ |
7 Module implementing the GreaseMonkey scripts configuration dialog. | 7 Module implementing the GreaseMonkey scripts configuration dialog. |
8 """ | 8 """ |
9 | |
10 from __future__ import unicode_literals # __IGNORE_WARNING__ | |
9 | 11 |
10 from PyQt4.QtCore import pyqtSlot, Qt, QUrl | 12 from PyQt4.QtCore import pyqtSlot, Qt, QUrl |
11 from PyQt4.QtGui import QDialog, QListWidgetItem, QDesktopServices | 13 from PyQt4.QtGui import QDialog, QListWidgetItem, QDesktopServices |
12 | 14 |
13 from E5Gui import E5MessageBox | 15 from E5Gui import E5MessageBox |
29 """ | 31 """ |
30 Constructor | 32 Constructor |
31 | 33 |
32 @param parent reference to the parent widget (QWidget) | 34 @param parent reference to the parent widget (QWidget) |
33 """ | 35 """ |
34 super().__init__(parent) | 36 super(GreaseMonkeyConfigurationDialog, self).__init__(parent) |
35 self.setupUi(self) | 37 self.setupUi(self) |
36 | 38 |
37 self.iconLabel.setPixmap(UI.PixmapCache.getPixmap("greaseMonkey48.png")) | 39 self.iconLabel.setPixmap(UI.PixmapCache.getPixmap("greaseMonkey48.png")) |
38 | 40 |
39 self.__manager = manager | 41 self.__manager = manager |