diff --git a/src/ukatali/configuredialog.py b/src/ukatali/configuredialog.py index 6859c61..d8ffa7f 100644 --- a/src/ukatali/configuredialog.py +++ b/src/ukatali/configuredialog.py @@ -38,12 +38,18 @@ class ConfigureDialog(QtWidgets.QDialog): self.category_stack = QtWidgets.QStackedWidget(self) self.category_stack.setObjectName('category_stack') self.category_layout.addWidget(self.category_stack) + # General settings self.general_page = QtWidgets.QWidget() self.general_page.setObjectName('general_page') self.category_stack.addWidget(self.general_page) + # Editor settings self.editor_page = QtWidgets.QWidget() self.editor_page.setObjectName('editor_page') self.category_stack.addWidget(self.editor_page) + self.editor_layout = QtWidgets.QFormLayout(self.editor_page) + self.editor_font_combobox = QtWidgets.QFontComboBox(self.editor_page) + self.editor_layout.addRow('Font', self.editor_font_combobox) + # Renderer settings self.renderer_page = QtWidgets.QWidget() self.renderer_page.setObjectName('renderer_page') self.category_stack.addWidget(self.renderer_page) @@ -54,6 +60,7 @@ class ConfigureDialog(QtWidgets.QDialog): self.render_options_stack = QtWidgets.QStackedWidget(self) self.render_options_stack.setObjectName("render_options_stack") self.render_layout.addWidget(self.render_options_stack) + # Buttons self.button_box = QtWidgets.QDialogButtonBox(self) self.button_box.setOrientation(QtCore.Qt.Horizontal) self.button_box.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel |