54:31463df17fd5 | 55:b5c84934de9c |
---|---|
8 """ | 8 """ |
9 | 9 |
10 from PyQt4.QtCore import QDir, pyqtSlot | 10 from PyQt4.QtCore import QDir, pyqtSlot |
11 from PyQt4.QtGui import QFileDialog | 11 from PyQt4.QtGui import QFileDialog |
12 | 12 |
13 from E4Gui.E4Completers import E4FileCompleter | 13 from E5Gui.E5Completers import E5FileCompleter |
14 | 14 |
15 from .ConfigurationPageBase import ConfigurationPageBase | 15 from .ConfigurationPageBase import ConfigurationPageBase |
16 from .Ui_HelpAppearancePage import Ui_HelpAppearancePage | 16 from .Ui_HelpAppearancePage import Ui_HelpAppearancePage |
17 | 17 |
18 import Preferences | 18 import Preferences |
28 """ | 28 """ |
29 ConfigurationPageBase.__init__(self) | 29 ConfigurationPageBase.__init__(self) |
30 self.setupUi(self) | 30 self.setupUi(self) |
31 self.setObjectName("HelpAppearancePage") | 31 self.setObjectName("HelpAppearancePage") |
32 | 32 |
33 self.styleSheetCompleter = E4FileCompleter(self.styleSheetEdit) | 33 self.styleSheetCompleter = E5FileCompleter(self.styleSheetEdit) |
34 | 34 |
35 self.helpColours = {} | 35 self.helpColours = {} |
36 | 36 |
37 # set initial values | 37 # set initial values |
38 self.standardFont = Preferences.getHelp("StandardFont") | 38 self.standardFont = Preferences.getHelp("StandardFont") |