aboutsummaryrefslogtreecommitdiffstats
path: root/src/settingsdialog.ui
diff options
context:
space:
mode:
Diffstat (limited to 'src/settingsdialog.ui')
-rw-r--r--src/settingsdialog.ui221
1 files changed, 221 insertions, 0 deletions
diff --git a/src/settingsdialog.ui b/src/settingsdialog.ui
new file mode 100644
index 0000000..b2c1c69
--- /dev/null
+++ b/src/settingsdialog.ui
@@ -0,0 +1,221 @@
+<?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>400</width>
+ <height>364</height>
+ </rect>
+ </property>
+ <property name="windowTitle">
+ <string>Preferences</string>
+ </property>
+ <property name="modal">
+ <bool>true</bool>
+ </property>
+ <layout class="QVBoxLayout" name="verticalLayout">
+ <item>
+ <layout class="QVBoxLayout" name="verticalLayout_2">
+ <item>
+ <widget class="QTabWidget" name="tabWidget">
+ <property name="currentIndex">
+ <number>0</number>
+ </property>
+ <widget class="QWidget" name="general">
+ <attribute name="title">
+ <string>General</string>
+ </attribute>
+ <layout class="QFormLayout" name="formLayoutWidget">
+ <item row="0" column="0">
+ <widget class="QLabel" name="timezoneLabel">
+ <property name="text">
+ <string>Time zone to use when formatting dates</string>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="1">
+ <widget class="QComboBox" name="timezoneCombo">
+ <item>
+ <property name="text">
+ <string>Local Time</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>UTC</string>
+ </property>
+ </item>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ <widget class="QWidget" name="network">
+ <attribute name="title">
+ <string>Network</string>
+ </attribute>
+ <layout class="QVBoxLayout" name="formLayoutWidget2">
+ <item>
+ <layout class="QFormLayout" name="formLayout">
+ <item row="1" column="0">
+ <widget class="QLabel" name="DownloadCustomEmojiLabel">
+ <property name="text">
+ <string>Download custom emoji</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="1">
+ <widget class="QCheckBox" name="DownloadCustomEmojiCheckBox">
+ <property name="checked">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="0">
+ <widget class="QLabel" name="downloadAttachmentsLabel">
+ <property name="text">
+ <string>Download remote attachments</string>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="1">
+ <widget class="QCheckBox" name="downloadAttachmentsCheckBox">
+ <property name="checked">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="0">
+ <widget class="QLabel" name="connectToTheInternetLabel">
+ <property name="text">
+ <string>Connect to the internet</string>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="1">
+ <widget class="QCheckBox" name="connectToTheInternetCheckBox">
+ <property name="checked">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item>
+ <widget class="QGroupBox" name="groupBox">
+ <property name="title">
+ <string>Instance with whom to fetch posts with</string>
+ </property>
+ <layout class="QFormLayout" name="formLayout_2">
+ <item row="0" column="1">
+ <widget class="QComboBox" name="instanceTypeComboBox">
+ <item>
+ <property name="text">
+ <string>Mastodon</string>
+ </property>
+ </item>
+ </widget>
+ </item>
+ <item row="0" column="0">
+ <widget class="QLabel" name="instanceTypeLabel">
+ <property name="text">
+ <string>Instance type</string>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="0">
+ <widget class="QLabel" name="instanceAddressLabel">
+ <property name="text">
+ <string>Instance Address</string>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="1">
+ <widget class="QLineEdit" name="instanceAddressLineEdit"/>
+ </item>
+ <item row="3" column="0">
+ <widget class="QLabel" name="tokenLabel">
+ <property name="text">
+ <string>Token</string>
+ </property>
+ </widget>
+ </item>
+ <item row="3" column="1">
+ <widget class="QLineEdit" name="tokenLineEdit"/>
+ </item>
+ <item row="4" column="0" colspan="2">
+ <widget class="QLabel" name="instanceActionsLabel">
+ <property name="text">
+ <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Actions: &lt;a href=&quot;action:fill-address&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#d2737f;&quot;&gt;auto-fill address&lt;/span&gt;&lt;/a&gt; and &lt;a href=&quot;action:request-token&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#d2737f;&quot;&gt;request token&lt;/span&gt;&lt;/a&gt;.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ </widget>
+ </item>
+ <item>
+ <widget class="QDialogButtonBox" name="buttonBox">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="standardButtons">
+ <set>QDialogButtonBox::Apply|QDialogButtonBox::Cancel|QDialogButtonBox::RestoreDefaults</set>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ </layout>
+ </widget>
+ <tabstops>
+ <tabstop>tabWidget</tabstop>
+ <tabstop>timezoneCombo</tabstop>
+ <tabstop>connectToTheInternetCheckBox</tabstop>
+ <tabstop>DownloadCustomEmojiCheckBox</tabstop>
+ <tabstop>downloadAttachmentsCheckBox</tabstop>
+ <tabstop>instanceTypeComboBox</tabstop>
+ <tabstop>instanceAddressLineEdit</tabstop>
+ <tabstop>tokenLineEdit</tabstop>
+ </tabstops>
+ <resources/>
+ <connections>
+ <connection>
+ <sender>buttonBox</sender>
+ <signal>accepted()</signal>
+ <receiver>SettingsDialog</receiver>
+ <slot>accept()</slot>
+ <hints>
+ <hint type="sourcelabel">
+ <x>255</x>
+ <y>304</y>
+ </hint>
+ <hint type="destinationlabel">
+ <x>157</x>
+ <y>274</y>
+ </hint>
+ </hints>
+ </connection>
+ <connection>
+ <sender>buttonBox</sender>
+ <signal>rejected()</signal>
+ <receiver>SettingsDialog</receiver>
+ <slot>reject()</slot>
+ <hints>
+ <hint type="sourcelabel">
+ <x>323</x>
+ <y>304</y>
+ </hint>
+ <hint type="destinationlabel">
+ <x>286</x>
+ <y>274</y>
+ </hint>
+ </hints>
+ </connection>
+ </connections>
+</ui>