4 # |
4 # |
5 |
5 |
6 """ |
6 """ |
7 Module implementing the Editor Highlighting Styles configuration page. |
7 Module implementing the Editor Highlighting Styles configuration page. |
8 """ |
8 """ |
|
9 |
|
10 from __future__ import unicode_literals # __IGNORE_WARNING__ |
9 |
11 |
10 from PyQt4.QtCore import pyqtSlot, QFileInfo, QFile, QIODevice |
12 from PyQt4.QtCore import pyqtSlot, QFileInfo, QFile, QIODevice |
11 from PyQt4.QtGui import QPalette, QColorDialog, QFontDialog, \ |
13 from PyQt4.QtGui import QPalette, QColorDialog, QFontDialog, \ |
12 QInputDialog, QFont, QMenu |
14 QInputDialog, QFont, QMenu |
13 |
15 |
33 """ |
35 """ |
34 Constructor |
36 Constructor |
35 |
37 |
36 @param lexers reference to the lexers dictionary |
38 @param lexers reference to the lexers dictionary |
37 """ |
39 """ |
38 super().__init__() |
40 super(EditorHighlightingStylesPage, self).__init__() |
39 self.setupUi(self) |
41 self.setupUi(self) |
40 self.setObjectName("EditorHighlightingStylesPage") |
42 self.setObjectName("EditorHighlightingStylesPage") |
41 |
43 |
42 self.__fontButtonMenu = QMenu() |
44 self.__fontButtonMenu = QMenu() |
43 act = self.__fontButtonMenu.addAction(self.trUtf8("Font")) |
45 act = self.__fontButtonMenu.addAction(self.trUtf8("Font")) |