aboutsummaryrefslogtreecommitdiff
path: root/src/settingsdialog.ui
diff options
context:
space:
mode:
authorFelix (xq) Queißner <git@mq32.de>2020-06-22 21:10:04 +0200
committerFelix (xq) Queißner <git@mq32.de>2020-06-22 21:10:04 +0200
commit75ec461eeaa851cb5c53f4cfffc434e3e529ed1d (patch)
tree3944737340718ca3675381aa06636045d397e780 /src/settingsdialog.ui
parent8dbfb0890560fd1cd698d06fa05ac868c4db8576 (diff)
downloadkristall-75ec461eeaa851cb5c53f4cfffc434e3e529ed1d.tar.gz
Restructures the project source and cleans up a bit
Diffstat (limited to 'src/settingsdialog.ui')
-rw-r--r--src/settingsdialog.ui915
1 files changed, 0 insertions, 915 deletions
diff --git a/src/settingsdialog.ui b/src/settingsdialog.ui
deleted file mode 100644
index 401e36b..0000000
--- a/src/settingsdialog.ui
+++ /dev/null
@@ -1,915 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ui version="4.0">
- <class>SettingsDialog</class>
- <widget class="QDialog" name="SettingsDialog">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>850</width>
- <height>650</height>
- </rect>
- </property>
- <property name="windowTitle">
- <string>Settings</string>
- </property>
- <property name="windowIcon">
- <iconset theme="settings"/>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout">
- <item>
- <widget class="QTabWidget" name="tabWidget">
- <property name="currentIndex">
- <number>0</number>
- </property>
- <widget class="QWidget" name="generic">
- <attribute name="icon">
- <iconset theme="settings"/>
- </attribute>
- <attribute name="title">
- <string>Generic</string>
- </attribute>
- <layout class="QFormLayout" name="formLayout">
- <item row="0" column="0">
- <widget class="QLabel" name="label_15">
- <property name="text">
- <string>UI Theme</string>
- </property>
- </widget>
- </item>
- <item row="0" column="1">
- <widget class="QComboBox" name="ui_theme"/>
- </item>
- <item row="1" column="0">
- <widget class="QLabel" name="label_14">
- <property name="text">
- <string>Start Page:</string>
- </property>
- </widget>
- </item>
- <item row="1" column="1">
- <widget class="QLineEdit" name="start_page">
- <property name="placeholderText">
- <string>about://blank</string>
- </property>
- </widget>
- </item>
- <item row="2" column="0">
- <widget class="QLabel" name="label_16">
- <property name="text">
- <string>Enabled Protocols</string>
- </property>
- </widget>
- </item>
- <item row="2" column="1">
- <layout class="QHBoxLayout" name="horizontalLayout">
- <item>
- <widget class="QCheckBox" name="enable_gemini">
- <property name="text">
- <string>Gemini</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QCheckBox" name="enable_gopher">
- <property name="enabled">
- <bool>true</bool>
- </property>
- <property name="text">
- <string>Gopher</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QCheckBox" name="enable_finger">
- <property name="enabled">
- <bool>true</bool>
- </property>
- <property name="text">
- <string>Finger</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QCheckBox" name="enable_http">
- <property name="text">
- <string>HTTP</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QCheckBox" name="enable_https">
- <property name="text">
- <string>HTTPS</string>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item row="3" column="0">
- <widget class="QLabel" name="label_19">
- <property name="text">
- <string>Text Rendering</string>
- </property>
- </widget>
- </item>
- <item row="3" column="1">
- <layout class="QHBoxLayout" name="horizontalLayout_5">
- <item>
- <widget class="QRadioButton" name="fancypants_on">
- <property name="text">
- <string>Fancy</string>
- </property>
- <property name="checked">
- <bool>true</bool>
- </property>
- <attribute name="buttonGroup">
- <string notr="true">textRenderingBtnGroup</string>
- </attribute>
- </widget>
- </item>
- <item>
- <widget class="QRadioButton" name="fancypants_off">
- <property name="text">
- <string>Always plain text</string>
- </property>
- <attribute name="buttonGroup">
- <string notr="true">textRenderingBtnGroup</string>
- </attribute>
- </widget>
- </item>
- </layout>
- </item>
- <item row="4" column="0">
- <widget class="QLabel" name="label_18">
- <property name="text">
- <string>Enable text highlights</string>
- </property>
- </widget>
- </item>
- <item row="4" column="1">
- <layout class="QHBoxLayout" name="horizontalLayout_3">
- <item>
- <widget class="QRadioButton" name="texthl_on">
- <property name="text">
- <string>On (Experimental)</string>
- </property>
- <attribute name="buttonGroup">
- <string notr="true">textHighlightsBtnGroup</string>
- </attribute>
- </widget>
- </item>
- <item>
- <widget class="QRadioButton" name="texthl_off">
- <property name="text">
- <string>Off</string>
- </property>
- <property name="checked">
- <bool>true</bool>
- </property>
- <attribute name="buttonGroup">
- <string notr="true">textHighlightsBtnGroup</string>
- </attribute>
- </widget>
- </item>
- </layout>
- </item>
- <item row="5" column="0">
- <widget class="QLabel" name="label_20">
- <property name="text">
- <string>Gopher Map</string>
- </property>
- </widget>
- </item>
- <item row="5" column="1">
- <layout class="QHBoxLayout" name="horizontalLayout_4">
- <item>
- <widget class="QRadioButton" name="gophermap_icon">
- <property name="text">
- <string>Use icons</string>
- </property>
- <property name="checked">
- <bool>true</bool>
- </property>
- <attribute name="buttonGroup">
- <string notr="true">gophermapBtnGroup</string>
- </attribute>
- </widget>
- </item>
- <item>
- <widget class="QRadioButton" name="gophermap_text">
- <property name="text">
- <string>Use text only</string>
- </property>
- <attribute name="buttonGroup">
- <string notr="true">gophermapBtnGroup</string>
- </attribute>
- </widget>
- </item>
- </layout>
- </item>
- <item row="6" column="0">
- <widget class="QLabel" name="label_22">
- <property name="text">
- <string>Unknown Scheme</string>
- </property>
- </widget>
- </item>
- <item row="6" column="1">
- <layout class="QHBoxLayout" name="horizontalLayout_7">
- <item>
- <widget class="QRadioButton" name="scheme_os_default">
- <property name="text">
- <string>Use OS default handler</string>
- </property>
- <attribute name="buttonGroup">
- <string notr="true">buttonGroup</string>
- </attribute>
- </widget>
- </item>
- <item>
- <widget class="QRadioButton" name="scheme_error">
- <property name="text">
- <string>Display error message</string>
- </property>
- <attribute name="buttonGroup">
- <string notr="true">buttonGroup</string>
- </attribute>
- </widget>
- </item>
- </layout>
- </item>
- <item row="7" column="0">
- <widget class="QLabel" name="label_26">
- <property name="text">
- <string>Max. Number of Redirections</string>
- </property>
- </widget>
- </item>
- <item row="7" column="1">
- <widget class="QSpinBox" name="max_redirects">
- <property name="value">
- <number>5</number>
- </property>
- </widget>
- </item>
- <item row="8" column="0">
- <widget class="QLabel" name="label_27">
- <property name="text">
- <string>Redirection Handling</string>
- </property>
- </widget>
- </item>
- <item row="8" column="1">
- <widget class="QComboBox" name="redirection_mode"/>
- </item>
- <item row="9" column="0">
- <widget class="QLabel" name="label_28">
- <property name="text">
- <string>Network Timeout</string>
- </property>
- </widget>
- </item>
- <item row="9" column="1">
- <widget class="QSpinBox" name="network_timeout">
- <property name="suffix">
- <string> ms</string>
- </property>
- <property name="minimum">
- <number>100</number>
- </property>
- <property name="maximum">
- <number>90000</number>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- <widget class="QWidget" name="style_tab">
- <attribute name="icon">
- <iconset theme="palette"/>
- </attribute>
- <attribute name="title">
- <string>Style</string>
- </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"/>
- </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"/>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QToolButton" name="std_change_color">
- <property name="text">
- <string/>
- </property>
- <property name="icon">
- <iconset theme="palette"/>
- </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"/>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QToolButton" name="pre_change_color">
- <property name="text">
- <string/>
- </property>
- <property name="icon">
- <iconset theme="palette"/>
- </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"/>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QToolButton" name="h1_change_color">
- <property name="text">
- <string/>
- </property>
- <property name="icon">
- <iconset theme="palette"/>
- </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"/>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QToolButton" name="h2_change_color">
- <property name="text">
- <string/>
- </property>
- <property name="icon">
- <iconset theme="palette"/>
- </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"/>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QToolButton" name="h3_change_color">
- <property name="text">
- <string/>
- </property>
- <property name="icon">
- <iconset theme="palette"/>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item row="6" column="0">
- <widget class="QLabel" name="label_7">
- <property name="text">
- <string>Local Link Color</string>
- </property>
- </widget>
- </item>
- <item row="7" column="0">
- <widget class="QLabel" name="label_8">
- <property name="text">
- <string>Foreign Link Color</string>
- </property>
- </widget>
- </item>
- <item row="8" column="0">
- <widget class="QLabel" name="label_9">
- <property name="text">
- <string>Cross-Scheme-Color</string>
- </property>
- </widget>
- </item>
- <item row="9" column="0">
- <widget class="QLabel" name="label_10">
- <property name="text">
- <string>Local Link Prefix</string>
- </property>
- </widget>
- </item>
- <item row="10" column="0">
- <widget class="QLabel" name="label_11">
- <property name="text">
- <string>Extern Link Prefix</string>
- </property>
- </widget>
- </item>
- <item row="10" column="1">
- <widget class="QLineEdit" name="link_foreign_prefix">
- <property name="text">
- <string>⇒ </string>
- </property>
- </widget>
- </item>
- <item row="9" column="1">
- <widget class="QLineEdit" name="link_local_prefix">
- <property name="text">
- <string>→ </string>
- </property>
- </widget>
- </item>
- <item row="6" 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"/>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item row="7" 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"/>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item row="8" 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"/>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item row="12" column="0">
- <widget class="QLabel" name="label_12">
- <property name="text">
- <string>Auto-Theme Generation</string>
- </property>
- </widget>
- </item>
- <item row="12" column="1">
- <widget class="QComboBox" name="auto_theme"/>
- </item>
- <item row="13" column="0">
- <widget class="QLabel" name="label_13">
- <property name="text">
- <string>Page Margin</string>
- </property>
- </widget>
- </item>
- <item row="13" column="1">
- <widget class="QDoubleSpinBox" name="page_margin">
- <property name="suffix">
- <string> px</string>
- </property>
- <property name="decimals">
- <number>0</number>
- </property>
- <property name="maximum">
- <double>350.000000000000000</double>
- </property>
- </widget>
- </item>
- <item row="14" 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="create-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="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"/>
- </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="save-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="save-export"/>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item row="14" column="0">
- <widget class="QLabel" name="label_17">
- <property name="text">
- <string>Presets</string>
- </property>
- </widget>
- </item>
- <item row="11" column="0">
- <widget class="QLabel" name="label_21">
- <property name="text">
- <string>Block Quote Background</string>
- </property>
- </widget>
- </item>
- <item row="11" 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"/>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- </layout>
- </item>
- <item>
- <layout class="QVBoxLayout" name="verticalLayout_2">
- <item>
- <widget class="QTextBrowser" name="style_preview">
- <property name="openLinks">
- <bool>false</bool>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QLineEdit" name="preview_url">
- <property name="placeholderText">
- <string>host.name</string>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- </layout>
- </widget>
- <widget class="QWidget" name="gem_trust_page">
- <attribute name="icon">
- <iconset theme="certificate"/>
- </attribute>
- <attribute name="title">
- <string>Gemini TLS</string>
- </attribute>
- <layout class="QVBoxLayout" name="verticalLayout_3">
- <item>
- <widget class="SslTrustEditor" name="gemini_trust_editor" native="true"/>
- </item>
- </layout>
- </widget>
- <widget class="QWidget" name="https_trust">
- <attribute name="icon">
- <iconset theme="certificate"/>
- </attribute>
- <attribute name="title">
- <string>HTTPS TLS</string>
- </attribute>
- <layout class="QVBoxLayout" name="verticalLayout_4">
- <item>
- <widget class="SslTrustEditor" name="https_trust_editor" native="true"/>
- </item>
- </layout>
- </widget>
- </widget>
- </item>
- <item>
- <widget class="QDialogButtonBox" name="buttonBox">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="standardButtons">
- <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- <customwidgets>
- <customwidget>
- <class>SslTrustEditor</class>
- <extends>QWidget</extends>
- <header>ssltrusteditor.hpp</header>
- <container>1</container>
- </customwidget>
- </customwidgets>
- <resources/>
- <connections>
- <connection>
- <sender>buttonBox</sender>
- <signal>rejected()</signal>
- <receiver>SettingsDialog</receiver>
- <slot>reject()</slot>
- <hints>
- <hint type="sourcelabel">
- <x>325</x>
- <y>470</y>
- </hint>
- <hint type="destinationlabel">
- <x>286</x>
- <y>274</y>
- </hint>
- </hints>
- </connection>
- <connection>
- <sender>buttonBox</sender>
- <signal>accepted()</signal>
- <receiver>SettingsDialog</receiver>
- <slot>accept()</slot>
- <hints>
- <hint type="sourcelabel">
- <x>257</x>
- <y>470</y>
- </hint>
- <hint type="destinationlabel">
- <x>157</x>
- <y>274</y>
- </hint>
- </hints>
- </connection>
- </connections>
- <buttongroups>
- <buttongroup name="buttonGroup"/>
- <buttongroup name="textHighlightsBtnGroup"/>
- <buttongroup name="gophermapBtnGroup"/>
- <buttongroup name="textRenderingBtnGroup"/>
- </buttongroups>
-</ui>