3185:d4fa462547bc | 3186:a05eff845522 |
---|---|
19 from .ConfigurationPageBase import ConfigurationPageBase | 19 from .ConfigurationPageBase import ConfigurationPageBase |
20 from .Ui_InterfacePage import Ui_InterfacePage | 20 from .Ui_InterfacePage import Ui_InterfacePage |
21 | 21 |
22 import Preferences | 22 import Preferences |
23 import Utilities | 23 import Utilities |
24 import UI.PixmapCache | |
24 | 25 |
25 from eric5config import getConfig | 26 from eric5config import getConfig |
26 | 27 |
27 | 28 |
28 class InterfacePage(ConfigurationPageBase, Ui_InterfacePage): | 29 class InterfacePage(ConfigurationPageBase, Ui_InterfacePage): |
34 Constructor | 35 Constructor |
35 """ | 36 """ |
36 super().__init__() | 37 super().__init__() |
37 self.setupUi(self) | 38 self.setupUi(self) |
38 self.setObjectName("InterfacePage") | 39 self.setObjectName("InterfacePage") |
40 | |
41 self.styleSheetButton.setIcon(UI.PixmapCache.getIcon("open.png")) | |
39 | 42 |
40 self.styleSheetCompleter = E5FileCompleter(self.styleSheetEdit) | 43 self.styleSheetCompleter = E5FileCompleter(self.styleSheetEdit) |
41 | 44 |
42 # set initial values | 45 # set initial values |
43 self.__populateStyleCombo() | 46 self.__populateStyleCombo() |