Changeset View
Changeset View
Standalone View
Standalone View
plugins/extensions/pykrita/plugin/plugins/scripter/settingsdialog.py
- This file was added.
1 | # -*- coding: utf-8 -*- | ||||
---|---|---|---|---|---|
2 | | ||||
3 | from PyQt5.QtWidgets import * | ||||
4 | from scripter import syntaxstylescombobox | ||||
5 | | ||||
6 | | ||||
7 | class SettingsDialog(QDialog): | ||||
8 | | ||||
9 | def __init__(self, scripter, parent=None): | ||||
10 | super(SettingsDialog, self).__init__(parent) | ||||
11 | | ||||
12 | self.scripter = scripter | ||||
13 | self.mainLayout = QFormLayout(self) | ||||
14 | self.mainLayout.addRow('Syntax Highlither', syntaxstylescombobox.SyntaxStylesComboBox(scripter.highlight)) | ||||
15 | self.mainLayout.addRow('Fonts', QComboBox()) | ||||
16 | self.mainLayout.addRow('BackGoud Color', QComboBox()) |