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