Differential D3492 Diff 8489 plugins/extensions/pykrita/plugin/plugins/scripter/syntaxstylescombobox.py
Changeset View
Changeset View
Standalone View
Standalone View
plugins/extensions/pykrita/plugin/plugins/scripter/syntaxstylescombobox.py
1 | # -*- coding: utf-8 -*- | 1 | # -*- coding: utf-8 -*- | ||
---|---|---|---|---|---|
2 | 2 | | |||
3 | from PyQt5.QtWidgets import * | 3 | from PyQt5.QtWidgets import * | ||
4 | from scripter import syntaxstyles | 4 | from scripter import syntaxstyles | ||
5 | import importlib | | |||
6 | 5 | | |||
7 | 6 | | |||
8 | class SyntaxStylesComboBox(QComboBox): | 7 | class SyntaxStylesComboBox(QComboBox): | ||
9 | 8 | | |||
10 | def __init__(self, highlight, parent=None): | 9 | def __init__(self, highlight, parent=None): | ||
11 | super(SyntaxStylesComboBox, self).__init__(parent) | 10 | super(SyntaxStylesComboBox, self).__init__(parent) | ||
12 | 11 | | |||
13 | self.highlight = highlight | 12 | self.highlight = highlight | ||
Show All 14 Lines |