aboutsummaryrefslogtreecommitdiff
path: root/src/qt/settings.ui
diff options
context:
space:
mode:
authorJan200101 <sentrycraft123@gmail.com>2022-06-30 19:26:37 +0200
committerJan200101 <sentrycraft123@gmail.com>2022-06-30 19:26:37 +0200
commit4833e4be7e55776a47169cdea926444e1cdeabe6 (patch)
treee24b5e70a961574da28218a499c2f9ec281de6a5 /src/qt/settings.ui
parentcbf1b717914ca9d3e52d7ceaae153928afcc9eda (diff)
downloadOFQT-4833e4be7e55776a47169cdea926444e1cdeabe6.tar.gz
OFQT-4833e4be7e55776a47169cdea926444e1cdeabe6.zip
add launch options to Qt frontend
Diffstat (limited to 'src/qt/settings.ui')
-rw-r--r--src/qt/settings.ui119
1 files changed, 75 insertions, 44 deletions
diff --git a/src/qt/settings.ui b/src/qt/settings.ui
index 4fde446..9f6e972 100644
--- a/src/qt/settings.ui
+++ b/src/qt/settings.ui
@@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
- <width>375</width>
- <height>259</height>
+ <width>560</width>
+ <height>300</height>
</rect>
</property>
<property name="windowTitle">
@@ -19,35 +19,68 @@
<property name="currentIndex">
<number>0</number>
</property>
- <widget class="QWidget" name="serverTab">
+ <property name="usesScrollButtons">
+ <bool>false</bool>
+ </property>
+ <property name="documentMode">
+ <bool>true</bool>
+ </property>
+ <widget class="QWidget" name="settingsTab">
<attribute name="title">
- <string>Server</string>
+ <string>Settings</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
- <layout class="QHBoxLayout" name="horizontalLayout_2">
+ <layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
- <widget class="QLabel" name="serverLabel">
+ <widget class="QLabel" name="argumentsLabel">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
<property name="text">
- <string>Server</string>
+ <string>Launch Arguments</string>
</property>
</widget>
</item>
<item>
- <spacer name="horizontalSpacer_2">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
+ <widget class="QLineEdit" name="argumentsEdit">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
</property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>40</width>
- <height>20</height>
- </size>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item>
+ <layout class="QHBoxLayout" name="horizontalLayout_2">
+ <item>
+ <widget class="QLabel" name="serverLabel">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
</property>
- </spacer>
+ <property name="text">
+ <string>Server</string>
+ </property>
+ </widget>
</item>
<item>
- <widget class="QLineEdit" name="serverEdit"/>
+ <widget class="QLineEdit" name="serverEdit">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ </widget>
</item>
</layout>
</item>
@@ -75,29 +108,31 @@
<layout class="QHBoxLayout" name="revisionLayout">
<item>
<widget class="QLabel" name="revisionText">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
<property name="text">
<string>Current Revision</string>
</property>
</widget>
</item>
<item>
- <spacer name="horizontalSpacer_3">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>40</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- <item>
<widget class="QLabel" name="revisionLabel">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
<property name="text">
<string>CURRENT_REVISION</string>
</property>
+ <property name="alignment">
+ <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+ </property>
</widget>
</item>
</layout>
@@ -106,29 +141,25 @@
<layout class="QHBoxLayout" name="installLayout">
<item>
<widget class="QLabel" name="installText">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
<property name="text">
<string>Install Path</string>
</property>
</widget>
</item>
<item>
- <spacer name="horizontalSpacer_4">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>40</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- <item>
- <widget class="QLabel" name="installLabel">
+ <widget class="QLineEdit" name="installLabel">
<property name="text">
<string>INSTALL_PATH</string>
</property>
+ <property name="readOnly">
+ <bool>true</bool>
+ </property>
</widget>
</item>
</layout>