aboutsummaryrefslogtreecommitdiff
path: root/src/dialogs
diff options
context:
space:
mode:
authorKarol Kosek <krkk@krkk.ct8.pl>2021-02-23 13:10:20 +0100
committerFelix Queißner <felix@ib-queissner.de>2021-02-23 22:07:50 +0100
commit975cca8c7152c7ed5e44a89474a247b095fcfe51 (patch)
treed2b3b03d9099781a140f5d20381ed5d4f1a4736a /src/dialogs
parentc23988a2ec002042f9db0f8765524703662dcfe6 (diff)
downloadkristall-975cca8c7152c7ed5e44a89474a247b095fcfe51.tar.gz
SettingsDialog: make style settings scrollable
Diffstat (limited to 'src/dialogs')
-rw-r--r--src/dialogs/settingsdialog.ui1621
1 files changed, 822 insertions, 799 deletions
diff --git a/src/dialogs/settingsdialog.ui b/src/dialogs/settingsdialog.ui
index 5bebe57..37f32ac 100644
--- a/src/dialogs/settingsdialog.ui
+++ b/src/dialogs/settingsdialog.ui
@@ -553,831 +553,854 @@
</attribute>
<layout class="QHBoxLayout" name="horizontalLayout_23">
<item>
- <layout class="QFormLayout" name="formLayout_3">
- <property name="leftMargin">
- <number>5</number>
- </property>
- <item row="0" column="1">
- <layout class="QHBoxLayout" name="horizontalLayout_13">
- <item>
- <widget class="QLabel" name="bg_preview">
- <property name="text">
- <string/>
- </property>
- <property name="textFormat">
- <enum>Qt::PlainText</enum>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QToolButton" name="bg_change_color">
- <property name="text">
- <string/>
- </property>
- <property name="icon">
- <iconset theme="palette">
- <normaloff>.</normaloff>.</iconset>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item row="0" column="0">
- <widget class="QLabel" name="label_2">
- <property name="text">
- <string>Background Color</string>
- </property>
- </widget>
- </item>
- <item row="1" column="0">
- <widget class="QLabel" name="label">
- <property name="text">
- <string>Standard Font</string>
- </property>
- </widget>
- </item>
- <item row="1" column="1">
- <layout class="QHBoxLayout" name="horizontalLayout_14">
- <item>
- <widget class="QLabel" name="std_preview">
- <property name="frameShape">
- <enum>QFrame::NoFrame</enum>
- </property>
- <property name="text">
- <string>This text will be displayed for normal text.</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QToolButton" name="std_change_font">
- <property name="text">
- <string/>
- </property>
- <property name="icon">
- <iconset theme="font">
- <normaloff>.</normaloff>.</iconset>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QToolButton" name="std_change_color">
- <property name="text">
- <string/>
- </property>
- <property name="icon">
- <iconset theme="palette">
- <normaloff>.</normaloff>.</iconset>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item row="2" column="0">
- <widget class="QLabel" name="label_3">
- <property name="text">
- <string>Preformatted Font</string>
- </property>
- </widget>
- </item>
- <item row="2" column="1">
- <layout class="QHBoxLayout" name="horizontalLayout_15">
- <item>
- <widget class="QLabel" name="pre_preview">
- <property name="frameShape">
- <enum>QFrame::NoFrame</enum>
- </property>
- <property name="text">
- <string>This text will be displayed for preformatted text.</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QToolButton" name="pre_change_font">
- <property name="text">
- <string/>
- </property>
- <property name="icon">
- <iconset theme="font">
- <normaloff>.</normaloff>.</iconset>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QToolButton" name="pre_change_color">
- <property name="text">
- <string/>
- </property>
- <property name="icon">
- <iconset theme="palette">
- <normaloff>.</normaloff>.</iconset>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item row="3" column="0">
- <widget class="QLabel" name="label_4">
- <property name="text">
- <string>H1 Font</string>
- </property>
- </widget>
- </item>
- <item row="3" column="1">
- <layout class="QHBoxLayout" name="horizontalLayout_16">
- <item>
- <widget class="QLabel" name="h1_preview">
- <property name="frameShape">
- <enum>QFrame::NoFrame</enum>
- </property>
- <property name="text">
- <string>This text will be displayed for a level 1 heading.</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QToolButton" name="h1_change_font">
- <property name="text">
- <string/>
- </property>
- <property name="icon">
- <iconset theme="font">
- <normaloff>.</normaloff>.</iconset>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QToolButton" name="h1_change_color">
- <property name="text">
- <string/>
- </property>
- <property name="icon">
- <iconset theme="palette">
- <normaloff>.</normaloff>.</iconset>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item row="4" column="0">
- <widget class="QLabel" name="label_5">
- <property name="text">
- <string>H2 Font</string>
+ <layout class="QVBoxLayout" name="verticalLayout_8">
+ <item>
+ <widget class="QScrollArea" name="style_scroll_area">
+ <property name="widgetResizable">
+ <bool>true</bool>
</property>
- </widget>
- </item>
- <item row="4" column="1">
- <layout class="QHBoxLayout" name="horizontalLayout_18">
- <item>
- <widget class="QLabel" name="h2_preview">
- <property name="frameShape">
- <enum>QFrame::NoFrame</enum>
- </property>
- <property name="text">
- <string>This text will be displayed for a level 2 heading.</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QToolButton" name="h2_change_font">
- <property name="text">
- <string/>
- </property>
- <property name="icon">
- <iconset theme="font">
- <normaloff>.</normaloff>.</iconset>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QToolButton" name="h2_change_color">
- <property name="text">
- <string/>
- </property>
- <property name="icon">
- <iconset theme="palette">
- <normaloff>.</normaloff>.</iconset>
- </property>
- </widget>
- </item>
- </layout>
- </item>
+ <widget class="QWidget" name="style_scroll_widget">
+ <property name="geometry">
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>510</width>
+ <height>767</height>
+ </rect>
+ </property>
+ <layout class="QFormLayout" name="style_scroll_layout">
+ <item row="0" column="1">
+ <layout class="QHBoxLayout" name="horizontalLayout_13">
+ <item>
+ <widget class="QLabel" name="bg_preview">
+ <property name="text">
+ <string/>
+ </property>
+ <property name="textFormat">
+ <enum>Qt::PlainText</enum>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QToolButton" name="bg_change_color">
+ <property name="text">
+ <string/>
+ </property>
+ <property name="icon">
+ <iconset theme="palette">
+ <normaloff>.</normaloff>.</iconset>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item row="0" column="0">
+ <widget class="QLabel" name="label_2">
+ <property name="text">
+ <string>Background Color</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="0">
+ <widget class="QLabel" name="label">
+ <property name="text">
+ <string>Standard Font</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="1">
+ <layout class="QHBoxLayout" name="horizontalLayout_14">
+ <item>
+ <widget class="QLabel" name="std_preview">
+ <property name="frameShape">
+ <enum>QFrame::NoFrame</enum>
+ </property>
+ <property name="text">
+ <string>This text will be displayed for normal text.</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QToolButton" name="std_change_font">
+ <property name="text">
+ <string/>
+ </property>
+ <property name="icon">
+ <iconset theme="font">
+ <normaloff>.</normaloff>.</iconset>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QToolButton" name="std_change_color">
+ <property name="text">
+ <string/>
+ </property>
+ <property name="icon">
+ <iconset theme="palette">
+ <normaloff>.</normaloff>.</iconset>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item row="2" column="0">
+ <widget class="QLabel" name="label_3">
+ <property name="text">
+ <string>Preformatted Font</string>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="1">
+ <layout class="QHBoxLayout" name="horizontalLayout_15">
+ <item>
+ <widget class="QLabel" name="pre_preview">
+ <property name="frameShape">
+ <enum>QFrame::NoFrame</enum>
+ </property>
+ <property name="text">
+ <string>This text will be displayed for preformatted text.</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QToolButton" name="pre_change_font">
+ <property name="text">
+ <string/>
+ </property>
+ <property name="icon">
+ <iconset theme="font">
+ <normaloff>.</normaloff>.</iconset>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QToolButton" name="pre_change_color">
+ <property name="text">
+ <string/>
+ </property>
+ <property name="icon">
+ <iconset theme="palette">
+ <normaloff>.</normaloff>.</iconset>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item row="3" column="0">
+ <widget class="QLabel" name="label_4">
+ <property name="text">
+ <string>H1 Font</string>
+ </property>
+ </widget>
+ </item>
+ <item row="3" column="1">
+ <layout class="QHBoxLayout" name="horizontalLayout_16">
+ <item>
+ <widget class="QLabel" name="h1_preview">
+ <property name="frameShape">
+ <enum>QFrame::NoFrame</enum>
+ </property>
+ <property name="text">
+ <string>This text will be displayed for a level 1 heading.</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QToolButton" name="h1_change_font">
+ <property name="text">
+ <string/>
+ </property>
+ <property name="icon">
+ <iconset theme="font">
+ <normaloff>.</normaloff>.</iconset>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QToolButton" name="h1_change_color">
+ <property name="text">
+ <string/>
+ </property>
+ <property name="icon">
+ <iconset theme="palette">
+ <normaloff>.</normaloff>.</iconset>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item row="4" column="0">
+ <widget class="QLabel" name="label_5">
+ <property name="text">
+ <string>H2 Font</string>
+ </property>
+ </widget>
+ </item>
+ <item row="4" column="1">
+ <layout class="QHBoxLayout" name="horizontalLayout_18">
+ <item>
+ <widget class="QLabel" name="h2_preview">
+ <property name="frameShape">
+ <enum>QFrame::NoFrame</enum>
+ </property>
+ <property name="text">
+ <string>This text will be displayed for a level 2 heading.</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QToolButton" name="h2_change_font">
+ <property name="text">
+ <string/>
+ </property>
+ <property name="icon">
+ <iconset theme="font">
+ <normaloff>.</normaloff>.</iconset>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QToolButton" name="h2_change_color">
+ <property name="text">
+ <string/>
+ </property>
+ <property name="icon">
+ <iconset theme="palette">
+ <normaloff>.</normaloff>.</iconset>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
- <item row="5" column="0">
- <widget class="QLabel" name="label_6">
- <property name="text">
- <string>H3 Font</string>
- </property>
- </widget>
- </item>
- <item row="5" column="1">
- <layout class="QHBoxLayout" name="horizontalLayout_19">
- <item>
- <widget class="QLabel" name="h3_preview">
- <property name="styleSheet">
- <string notr="true">border: 1px solid black;</string>
- </property>
- <property name="frameShape">
- <enum>QFrame::NoFrame</enum>
- </property>
- <property name="text">
- <string>This text will be displayed for a level 3 heading.</string>
- </property>
- <property name="textFormat">
- <enum>Qt::PlainText</enum>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QToolButton" name="h3_change_font">
- <property name="text">
- <string/>
- </property>
- <property name="icon">
- <iconset theme="font">
- <normaloff>.</normaloff>.</iconset>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QToolButton" name="h3_change_color">
- <property name="text">
- <string/>
- </property>
- <property name="icon">
- <iconset theme="palette">
- <normaloff>.</normaloff>.</iconset>
- </property>
- </widget>
- </item>
- </layout>
- </item>
+ <item row="5" column="0">
+ <widget class="QLabel" name="label_6">
+ <property name="text">
+ <string>H3 Font</string>
+ </property>
+ </widget>
+ </item>
+ <item row="5" column="1">
+ <layout class="QHBoxLayout" name="horizontalLayout_19">
+ <item>
+ <widget class="QLabel" name="h3_preview">
+ <property name="styleSheet">
+ <string notr="true">border: 1px solid black;</string>
+ </property>
+ <property name="frameShape">
+ <enum>QFrame::NoFrame</enum>
+ </property>
+ <property name="text">
+ <string>This text will be displayed for a level 3 heading.</string>
+ </property>
+ <property name="textFormat">
+ <enum>Qt::PlainText</enum>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QToolButton" name="h3_change_font">
+ <property name="text">
+ <string/>
+ </property>
+ <property name="icon">
+ <iconset theme="font">
+ <normaloff>.</normaloff>.</iconset>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QToolButton" name="h3_change_color">
+ <property name="text">
+ <string/>
+ </property>
+ <property name="icon">
+ <iconset theme="palette">
+ <normaloff>.</normaloff>.</iconset>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
- <item row="6" column="0">
- <widget class="QLabel" name="label_33">
- <property name="text">
- <string>Blockquote font</string>
- </property>
- </widget>
- </item>
- <item row="6" column="1">
- <layout class="QHBoxLayout" name="horizontalLayout_24">
- <item>
- <widget class="QLabel" name="bq_preview">
- <property name="styleSheet">
- <string notr="true">border: 1px solid black;</string>
- </property>
- <property name="frameShape">
- <enum>QFrame::NoFrame</enum>
- </property>
- <property name="text">
- <string>This font will be used in blockquotes.</string>
- </property>
- <property name="textFormat">
- <enum>Qt::PlainText</enum>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QToolButton" name="bq_change_font">
- <property name="text">
- <string/>
- </property>
- <property name="icon">
- <iconset theme="font">
- <normaloff>.</normaloff>.</iconset>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QToolButton" name="bq_change_color">
- <property name="text">
- <string/>
- </property>
- <property name="icon">
- <iconset theme="palette">
- <normaloff>.</normaloff>.</iconset>
- </property>
- </widget>
- </item>
- </layout>
- </item>
+ <item row="6" column="0">
+ <widget class="QLabel" name="label_33">
+ <property name="text">
+ <string>Blockquote font</string>
+ </property>
+ </widget>
+ </item>
+ <item row="6" column="1">
+ <layout class="QHBoxLayout" name="horizontalLayout_24">
+ <item>
+ <widget class="QLabel" name="bq_preview">
+ <property name="styleSheet">
+ <string notr="true">border: 1px solid black;</string>
+ </property>
+ <property name="frameShape">
+ <enum>QFrame::NoFrame</enum>
+ </property>
+ <property name="text">
+ <string>This font will be used in blockquotes.</string>
+ </property>
+ <property name="textFormat">
+ <enum>Qt::PlainText</enum>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QToolButton" name="bq_change_font">
+ <property name="text">
+ <string/>
+ </property>
+ <property name="icon">
+ <iconset theme="font">
+ <normaloff>.</normaloff>.</iconset>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QToolButton" name="bq_change_color">
+ <property name="text">
+ <string/>
+ </property>
+ <property name="icon">
+ <iconset theme="palette">
+ <normaloff>.</normaloff>.</iconset>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
- <item row="7" column="0">
- <widget class="QLabel" name="label_7">
- <property name="text">
- <string>Local Link Color</string>
- </property>
- </widget>
- </item>
- <item row="8" column="0">
- <widget class="QLabel" name="label_8">
- <property name="text">
- <string>Foreign Link Color</string>
- </property>
- </widget>
- </item>
- <item row="9" column="0">
- <widget class="QLabel" name="label_9">
- <property name="text">
- <string>Cross-Scheme-Color</string>
- </property>
- </widget>
- </item>
- <item row="10" column="0">
- <widget class="QLabel" name="label_10">
- <property name="text">
- <string>Local Link Prefix</string>
- </property>
- </widget>
- </item>
- <item row="11" column="0">
- <widget class="QLabel" name="label_11">
- <property name="text">
- <string>Extern Link Prefix</string>
- </property>
- </widget>
- </item>
- <item row="11" column="1">
- <widget class="QLineEdit" name="link_foreign_prefix">
- <property name="text">
- <string>⇒ </string>
- </property>
- </widget>
- </item>
- <item row="10" column="1">
- <widget class="QLineEdit" name="link_local_prefix">
- <property name="text">
- <string>→ </string>
- </property>
- </widget>
- </item>
- <item row="7" column="1">
- <layout class="QHBoxLayout" name="horizontalLayout_20">
- <item>
- <widget class="QLabel" name="link_local_preview">
- <property name="text">
- <string>This is a local reference</string>
- </property>
- <property name="textFormat">
- <enum>Qt::PlainText</enum>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QToolButton" name="link_local_change_color">
- <property name="text">
- <string/>
- </property>
- <property name="icon">
- <iconset theme="palette">
- <normaloff>.</normaloff>.</iconset>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item row="8" column="1">
- <layout class="QHBoxLayout" name="horizontalLayout_21">
- <item>
- <widget class="QLabel" name="link_foreign_preview">
- <property name="text">
- <string>This is a foreign reference</string>
- </property>
- <property name="textFormat">
- <enum>Qt::PlainText</enum>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QToolButton" name="link_foreign_change_color">
- <property name="text">
- <string/>
- </property>
- <property name="icon">
- <iconset theme="palette">
- <normaloff>.</normaloff>.</iconset>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item row="9" column="1">
- <layout class="QHBoxLayout" name="horizontalLayout_22">
- <item>
- <widget class="QLabel" name="link_cross_preview">
- <property name="text">
- <string>This reference is cross-scheme</string>
- </property>
- <property name="textFormat">
- <enum>Qt::PlainText</enum>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QToolButton" name="link_cross_change_color">
- <property name="text">
- <string/>
- </property>
- <property name="icon">
- <iconset theme="palette">
- <normaloff>.</normaloff>.</iconset>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item row="13" column="0">
- <widget class="QLabel" name="label_12">
- <property name="text">
- <string>Auto-Theme Generation</string>
- </property>
- </widget>
- </item>
- <item row="13" column="1">
- <widget class="QComboBox" name="auto_theme"/>
- </item>
+ <item row="7" column="0">
+ <widget class="QLabel" name="label_7">
+ <property name="text">
+ <string>Local Link Color</string>
+ </property>
+ </widget>
+ </item>
+ <item row="8" column="0">
+ <widget class="QLabel" name="label_8">
+ <property name="text">
+ <string>Foreign Link Color</string>
+ </property>
+ </widget>
+ </item>
+ <item row="9" column="0">
+ <widget class="QLabel" name="label_9">
+ <property name="text">
+ <string>Cross-Scheme-Color</string>
+ </property>
+ </widget>
+ </item>
+ <item row="10" column="0">
+ <widget class="QLabel" name="label_10">
+ <property name="text">
+ <string>Local Link Prefix</string>
+ </property>
+ </widget>
+ </item>
+ <item row="11" column="0">
+ <widget class="QLabel" name="label_11">
+ <property name="text">
+ <string>Extern Link Prefix</string>
+ </property>
+ </widget>
+ </item>
+ <item row="11" column="1">
+ <widget class="QLineEdit" name="link_foreign_prefix">
+ <property name="text">
+ <string>⇒ </string>
+ </property>
+ </widget>
+ </item>
+ <item row="10" column="1">
+ <widget class="QLineEdit" name="link_local_prefix">
+ <property name="text">
+ <string>→ </string>
+ </property>
+ </widget>
+ </item>
+ <item row="7" column="1">
+ <layout class="QHBoxLayout" name="horizontalLayout_20">
+ <item>
+ <widget class="QLabel" name="link_local_preview">
+ <property name="text">
+ <string>This is a local reference</string>
+ </property>
+ <property name="textFormat">
+ <enum>Qt::PlainText</enum>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QToolButton" name="link_local_change_color">
+ <property name="text">
+ <string/>
+ </property>
+ <property name="icon">
+ <iconset theme="palette">
+ <normaloff>.</normaloff>.</iconset>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item row="8" column="1">
+ <layout class="QHBoxLayout" name="horizontalLayout_21">
+ <item>
+ <widget class="QLabel" name="link_foreign_preview">
+ <property name="text">
+ <string>This is a foreign reference</string>
+ </property>
+ <property name="textFormat">
+ <enum>Qt::PlainText</enum>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QToolButton" name="link_foreign_change_color">
+ <property name="text">
+ <string/>
+ </property>
+ <property name="icon">
+ <iconset theme="palette">
+ <normaloff>.</normaloff>.</iconset>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item row="9" column="1">
+ <layout class="QHBoxLayout" name="horizontalLayout_22">
+ <item>
+ <widget class="QLabel" name="link_cross_preview">
+ <property name="text">
+ <string>This reference is cross-scheme</string>
+ </property>
+ <property name="textFormat">
+ <enum>Qt::PlainText</enum>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QToolButton" name="link_cross_change_color">
+ <property name="text">
+ <string/>
+ </property>
+ <property name="icon">
+ <iconset theme="palette">
+ <normaloff>.</normaloff>.</iconset>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item row="13" column="0">
+ <widget class="QLabel" name="label_12">
+ <property name="text">
+ <string>Auto-Theme Generation</string>
+ </property>
+ </widget>
+ </item>
+ <item row="13" column="1">
+ <widget class="QComboBox" name="auto_theme"/>
+ </item>
- <item row="14" column="0">
- <widget class="QLabel" name="label_13">
- <property name="text">
- <string>Left/right Page Margin</string>
- </property>
- </widget>
- </item>
- <item row="14" column="1">
- <widget class="QDoubleSpinBox" name="page_margin_h">
- <property name="suffix">
- <string> px</string>
- </property>
- <property name="decimals">
- <number>0</number>
- </property>
- <property name="maximum">
- <double>350</double>
- </property>
- </widget>
- </item>
+ <item row="14" column="0">
+ <widget class="QLabel" name="label_13">
+ <property name="text">
+ <string>Left/right Page Margin</string>
+ </property>
+ </widget>
+ </item>
+ <item row="14" column="1">
+ <widget class="QDoubleSpinBox" name="page_margin_h">
+ <property name="suffix">
+ <string> px</string>
+ </property>
+ <property name="decimals">
+ <number>0</number>
+ </property>
+ <property name="maximum">
+ <double>350</double>
+ </property>
+ </widget>
+ </item>
- <item row="15" column="0">
- <widget class="QLabel" name="label_32">
- <property name="text">
- <string>Top/bottom Page Margin</string>
- </property>
- </widget>
- </item>
- <item row="15" column="1">
- <widget class="QDoubleSpinBox" name="page_margin_v">
- <property name="suffix">
- <string> px</string>
- </property>
- <property name="decimals">
- <number>0</number>
- </property>
- <property name="maximum">
- <double>350</double>
- </property>
- </widget>
- </item>
+ <item row="15" column="0">
+ <widget class="QLabel" name="label_32">
+ <property name="text">
+ <string>Top/bottom Page Margin</string>
+ </property>
+ </widget>
+ </item>
+ <item row="15" column="1">
+ <widget class="QDoubleSpinBox" name="page_margin_v">
+ <property name="suffix">
+ <string> px</string>
+ </property>
+ <property name="decimals">
+ <number>0</number>
+ </property>
+ <property name="maximum">
+ <double>350</double>
+ </property>
+ </widget>
+ </item>
- <item row="16" column="0">
- <widget class="QLabel" name="label_25">
- <property name="text">
- <string>Other options</string>
- </property>
- </widget>
- </item>
- <item row="16" column="1">
- <layout class="QHBoxLayout" name="horizontalLayout_98">
- <item>
- <widget class="QCheckBox" name="enable_justify_text">
- <property name="text">
- <string>Justify text</string>
- </property>
- <property name="toolTip">
- <string>Justify text on the page, instead of left-aligning it.</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QCheckBox" name="enable_text_width">
- <property name="text">
- <string>Enable text width limit</string>
- </property>
- <property name="toolTip">
- <string>Whether to limit the width of formatted text on the page or not.</string>
- </property>
- </widget>
- </item>
- </layout>
- </item>
+ <item row="16" column="0">
+ <widget class="QLabel" name="label_25">
+ <property name="text">
+ <string>Other options</string>
+ </property>
+ </widget>
+ </item>
+ <item row="16" column="1">
+ <layout class="QHBoxLayout" name="horizontalLayout_98">
+ <item>
+ <widget class="QCheckBox" name="enable_justify_text">
+ <property name="text">
+ <string>Justify text</string>
+ </property>
+ <property name="toolTip">
+ <string>Justify text on the page, instead of left-aligning it.</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QCheckBox" name="enable_text_width">
+ <property name="text">
+ <string>Enable text width limit</string>
+ </property>
+ <property name="toolTip">
+ <string>Whether to limit the width of formatted text on the page or not.</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
- <item row="17" column="0">
- <widget class="QLabel" name="label_38">
- <property name="text">
- <string>Text width limit</string>
- </property>
- <property name="toolTip">
- <string>Preferred width of formatted text on the page.</string>
- </property>
- </widget>
- </item>
- <item row="17" column="1">
- <widget class="QSpinBox" name="text_width">
- <property name="minimum">
- <number>300</number>
- </property>
- <property name="value">
- <number>900</number>
- </property>
- <property name="maximum">
- <number>2000</number>
- </property>
- <property name="suffix">
- <string> px</string>
- </property>
- </widget>
- </item>
+ <item row="17" column="0">
+ <widget class="QLabel" name="label_38">
+ <property name="text">
+ <string>Text width limit</string>
+ </property>
+ <property name="toolTip">
+ <string>Preferred width of formatted text on the page.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="17" column="1">
+ <widget class="QSpinBox" name="text_width">
+ <property name="minimum">
+ <number>300</number>
+ </property>
+ <property name="value">
+ <number>900</number>
+ </property>
+ <property name="maximum">
+ <number>2000</number>
+ </property>
+ <property name="suffix">
+ <string> px</string>
+ </property>
+ </widget>
+ </item>
- <item row="18" column="0">
- <widget class="QLabel" name="label_35">
- <property name="text">
- <string>Line height (paragraph)</string>
- </property>
- </widget>
- </item>
- <item row="18" column="1">
- <widget class="QDoubleSpinBox" name="line_height_p">
- <property name="suffix">
- <string> px</string>
- </property>
- <property name="decimals">
- <number>0</number>
- </property>
- <property name="maximum">
- <double>30</double>
- </property>
- </widget>
- </item>
+ <item row="18" column="0">
+ <widget class="QLabel" name="label_35">
+ <property name="text">
+ <string>Line height (paragraph)</string>
+ </property>
+ </widget>
+ </item>
+ <item row="18" column="1">
+ <widget class="QDoubleSpinBox" name="line_height_p">
+ <property name="suffix">
+ <string> px</string>
+ </property>
+ <property name="decimals">
+ <number>0</number>
+ </property>
+ <property name="maximum">
+ <double>30</double>
+ </property>
+ </widget>
+ </item>
- <item row="19" column="0">
- <widget class="QLabel" name="label_36">
- <property name="text">
- <string>Line height (header)</string>
- </property>
- </widget>
- </item>
- <item row="19" column="1">
- <widget class="QDoubleSpinBox" name="line_height_h">
- <property name="suffix">
- <string> px</string>
- </property>
- <property name="decimals">
- <number>0</number>
- </property>
- <property name="maximum">
- <double>30</double>
- </property>
- </widget>
- </item>
+ <item row="19" column="0">
+ <widget class="QLabel" name="label_36">
+ <property name="text">
+ <string>Line height (header)</string>
+ </property>
+ </widget>
+ </item>
+ <item row="19" column="1">
+ <widget class="QDoubleSpinBox" name="line_height_h">
+ <property name="suffix">
+ <string> px</string>
+ </property>
+ <property name="decimals">
+ <number>0</number>
+ </property>
+ <property name="maximum">
+ <double>30</double>
+ </property>
+ </widget>
+ </item>
- <item row="20" column="0">
- <widget class="QLabel" name="label_37">
- <property name="text">
- <string>Indentation</string>
- </property>
- </widget>
- </item>
- <item row="20" column="1">
- <layout class="QHBoxLayout" name="indent_container">
+ <item row="20" column="0">
+ <widget class="QLabel" name="label_37">
+ <property name="text">
+ <string>Indentation</string>
+ </property>
+ </widget>
+ </item>
+ <item row="20" column="1">
+ <layout class="QHBoxLayout" name="indent_container">
- <item>
- <widget class="QLabel" name="label_96">
- <property name="text">
- <string>Par:</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QSpinBox" name="indent_p">
- <property name="value">
- <number>1</number>
- </property>
- <property name="minimum">
- <number>0</number>
- </property>
- <property name="maximum">
- <number>7</number>
- </property>
- </widget>
- </item>
+ <item>
+ <widget class="QLabel" name="label_96">
+ <property name="text">
+ <string>Par:</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QSpinBox" name="indent_p">
+ <property name="value">
+ <number>1</number>
+ </property>
+ <property name="minimum">
+ <number>0</number>
+ </property>
+ <property name="maximum">
+ <number>7</number>
+ </property>
+ </widget>
+ </item>
- <item>
- <widget class="QLabel" name="label_94">
- <property name="text">
- <string>Hea:</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QSpinBox" name="indent_h">
- <property name="value">
- <number>0</number>
- </property>
- <property name="minimum">
- <number>0</number>
- </property>
- <property name="maximum">
- <number>7</number>
- </property>
- </widget>
- </item>
+ <item>
+ <widget class="QLabel" name="label_94">
+ <property name="text">
+ <string>Hea:</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QSpinBox" name="indent_h">
+ <property name="value">
+ <number>0</number>
+ </property>
+ <property name="minimum">
+ <number>0</number>
+ </property>
+ <property name="maximum">
+ <number>7</number>
+ </property>
+ </widget>
+ </item>
- <item>
- <widget class="QLabel" name="label_95">
- <property name="text">
- <string>Quo:</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QSpinBox" name="indent_bq">
- <property name="value">
- <number>2</number>
- </property>
- <property name="minimum">
- <number>0</number>
- </property>
- <property name="maximum">
- <number>7</number>
- </property>
- </widget>
- </item>
+ <item>
+ <widget class="QLabel" name="label_95">
+ <property name="text">
+ <string>Quo:</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QSpinBox" name="indent_bq">
+ <property name="value">
+ <number>2</number>
+ </property>
+ <property name="minimum">
+ <number>0</number>
+ </property>
+ <property name="maximum">
+ <number>7</number>
+ </property>
+ </widget>
+ </item>
- <item>
- <widget class="QLabel" name="label_93">
- <property name="text">
- <string>Lst:</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QSpinBox" name="indent_l">
- <property name="value">
- <number>2</number>
- </property>
- <property name="minimum">
- <number>0</number>
- </property>
- <property name="maximum">
- <number>7</number>
- </property>
- </widget>
- </item>
+ <item>
+ <widget class="QLabel" name="label_93">
+ <property name="text">
+ <string>Lst:</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QSpinBox" name="indent_l">
+ <property name="value">
+ <number>2</number>
+ </property>
+ <property name="minimum">
+ <number>0</number>
+ </property>
+ <property name="maximum">
+ <number>7</number>
+ </property>
+ </widget>
+ </item>
- </layout>
- </item>
+ </layout>
+ </item>
- <item row="21" column="0">
- <widget class="QLabel" name="label_42">
- <property name="text">
- <string>Indent size</string>
- </property>
- </widget>
- </item>
- <item row="21" column="1">
- <widget class="QDoubleSpinBox" name="indent_size">
- <property name="suffix">
- <string> px</string>
- </property>
- <property name="decimals">
- <number>0</number>
- </property>
- <property name="maximum">
- <double>100</double>
- </property>
- </widget>
- </item>
+ <item row="21" column="0">
+ <widget class="QLabel" name="label_42">
+ <property name="text">
+ <string>Indent size</string>
+ </property>
+ </widget>
+ </item>
+ <item row="21" column="1">
+ <widget class="QDoubleSpinBox" name="indent_size">
+ <property name="suffix">
+ <string> px</string>
+ </property>
+ <property name="decimals">
+ <number>0</number>
+ </property>
+ <property name="maximum">
+ <double>100</double>
+ </property>
+ </widget>
+ </item>
- <item row="22" column="0">
- <widget class="QLabel" name="label_41">
- <property name="text">
- <string>List item marker</string>
- </property>
- </widget>
- </item>
- <item row="22" column="1">
- <widget class="QComboBox" name="list_symbol"/>
- </item>
+ <item row="22" column="0">
+ <widget class="QLabel" name="label_41">
+ <property name="text">
+ <string>List item marker</string>
+ </property>
+ </widget>
+ </item>
+ <item row="22" column="1">
+ <widget class="QComboBox" name="list_symbol"/>
+ </item>
- <item row="23" column="0">
- <widget class="QLabel" name="label_17">
- <property name="text">
- <string>Presets</string>
- </property>
+ <item row="12" column="0">
+ <widget class="QLabel" name="label_21">
+ <property name="text">
+ <string>Block Quote Background</string>
+ </property>
+ </widget>
+ </item>
+ <item row="12" column="1">
+ <layout class="QHBoxLayout" name="horizontalLayout_6">
+ <item>
+ <widget class="QLabel" name="quote_preview">
+ <property name="text">
+ <string/>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QToolButton" name="quote_change_color">
+ <property name="text">
+ <string>...</string>
+ </property>
+ <property name="icon">
+ <iconset theme="palette">
+ <normaloff>.</normaloff>.</iconset>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ </layout>
+ </widget>
</widget>
</item>
- <item row="23" column="1">
- <layout class="QHBoxLayout" name="horizontalLayout_2">
- <item>
- <widget class="QComboBox" name="presets"/>
- </item>
- <item>
- <widget class="QToolButton" name="preset_new">
- <property name="toolTip">
- <string>Save as new preset</string>
- </property>
- <property name="text">
- <string>...</string>
- </property>
- <property name="icon">
- <iconset theme="document-new"/>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QToolButton" name="preset_save">
- <property name="toolTip">
- <string>Override current preset</string>
- </property>
- <property name="text">
- <string>...</string>
- </property>
- <property name="icon">
- <iconset theme="document-save"/>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QToolButton" name="preset_load">
- <property name="toolTip">
- <string>Load preset</string>
- </property>
- <property name="text">
- <string>...</string>
- </property>
- <property name="icon">
- <iconset theme="folder">
- <normaloff>.</normaloff>.</iconset>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QToolButton" name="preset_import">
- <property name="toolTip">
- <string>Imports preset…</string>
- </property>
- <property name="toolTipDuration">
- <number>-1</number>
- </property>
- <property name="text">
- <string>...</string>
- </property>
- <property name="icon">
- <iconset theme="document-import"/>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QToolButton" name="preset_export">
- <property name="toolTip">
- <string>Export preset…</string>
- </property>
- <property name="text">
- <string>...</string>
- </property>
- <property name="icon">
- <iconset theme="document-export"/>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item row="12" column="0">
- <widget class="QLabel" name="label_21">
- <property name="text">
- <string>Block Quote Background</string>
+ <item>
+ <layout class="QFormLayout" name="formLayout_6">
+ <property name="sizeConstraint">
+ <enum>QLayout::SetDefaultConstraint</enum>
</property>
- </widget>
- </item>
- <item row="12" column="1">
- <layout class="QHBoxLayout" name="horizontalLayout_6">
- <item>
- <widget class="QLabel" name="quote_preview">
+ <item row="0" column="0">
+ <widget class="QLabel" name="label_17">
<property name="text">
- <string/>
+ <string>Presets</string>
</property>
</widget>
</item>
- <item>
- <widget class="QToolButton" name="quote_change_color">
- <property name="text">
- <string>...</string>
- </property>
- <property name="icon">
- <iconset theme="palette">
- <normaloff>.</normaloff>.</iconset>
- </property>
- </widget>
+ <item row="0" column="1">
+ <layout class="QHBoxLayout" name="horizontalLayout_2">
+ <item>
+ <widget class="QComboBox" name="presets"/>
+ </item>
+ <item>
+ <widget class="QToolButton" name="preset_new">
+ <property name="toolTip">
+ <string>Save as new preset</string>
+ </property>
+ <property name="text">
+ <string>...</string>
+ </property>
+ <property name="icon">
+ <iconset theme="document-new"/>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QToolButton" name="preset_save">
+ <property name="toolTip">
+ <string>Override current preset</string>
+ </property>
+ <property name="text">
+ <string>...</string>
+ </property>
+ <property name="icon">
+ <iconset theme="document-save"/>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QToolButton" name="preset_load">
+ <property name="toolTip">
+ <string>Load preset</string>
+ </property>
+ <property name="text">
+ <string>...</string>
+ </property>
+ <property name="icon">
+ <iconset theme="folder">
+ <normaloff>.</normaloff>.</iconset>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QToolButton" name="preset_import">
+ <property name="toolTip">
+ <string>Imports preset…</string>
+ </property>
+ <property name="toolTipDuration">
+ <number>-1</number>
+ </property>
+ <property name="text">
+ <string>...</string>
+ </property>
+ <property name="icon">
+ <iconset theme="document-import"/>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QToolButton" name="preset_export">
+ <property name="toolTip">
+ <string>Export preset…</string>
+ </property>
+ <property name="text">
+ <string>...</string>
+ </property>
+ <property name="icon">
+ <iconset theme="document-export"/>
+ </property>
+ </widget>
+ </item>
+ </layout>
</item>
</layout>
</item>