7 Module implementing the Editor Highlighting Styles configuration page. |
7 Module implementing the Editor Highlighting Styles configuration page. |
8 """ |
8 """ |
9 |
9 |
10 import pathlib |
10 import pathlib |
11 |
11 |
12 from PyQt6.QtCore import pyqtSlot, Qt, QFile, QIODevice |
12 from PyQt6.QtCore import QFile, QIODevice, Qt, pyqtSlot |
13 from PyQt6.QtGui import QFont, QColor |
13 from PyQt6.QtGui import QColor, QFont |
14 from PyQt6.QtWidgets import ( |
14 from PyQt6.QtWidgets import ( |
15 QColorDialog, |
15 QColorDialog, |
|
16 QDialog, |
16 QFontDialog, |
17 QFontDialog, |
17 QInputDialog, |
18 QInputDialog, |
18 QMenu, |
19 QMenu, |
19 QTreeWidgetItem, |
20 QTreeWidgetItem, |
20 QDialog, |
|
21 ) |
21 ) |
22 |
22 |
|
23 from eric7.EricGui import EricPixmapCache |
|
24 from eric7.EricWidgets import EricFileDialog, EricMessageBox |
|
25 |
|
26 from ..SubstyleDefinitionDialog import SubstyleDefinitionDialog |
23 from .ConfigurationPageBase import ConfigurationPageBase |
27 from .ConfigurationPageBase import ConfigurationPageBase |
24 from .Ui_EditorHighlightingStylesPage import Ui_EditorHighlightingStylesPage |
28 from .Ui_EditorHighlightingStylesPage import Ui_EditorHighlightingStylesPage |
25 from ..SubstyleDefinitionDialog import SubstyleDefinitionDialog |
|
26 |
|
27 from eric7.EricWidgets import EricMessageBox, EricFileDialog |
|
28 |
|
29 from eric7.EricGui import EricPixmapCache |
|
30 |
29 |
31 |
30 |
32 class EditorHighlightingStylesPage( |
31 class EditorHighlightingStylesPage( |
33 ConfigurationPageBase, Ui_EditorHighlightingStylesPage |
32 ConfigurationPageBase, Ui_EditorHighlightingStylesPage |
34 ): |
33 ): |