fix: SettingsDialog ui generating nonsence alignment tags when edited

This commit is contained in:
sithlord48 2024-11-13 09:38:36 -05:00 committed by Chris Rizzitello
parent 6dea7f3437
commit 2990de322f

View file

@ -7,7 +7,7 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>550</width> <width>550</width>
<height>582</height> <height>615</height>
</rect> </rect>
</property> </property>
<property name="sizePolicy"> <property name="sizePolicy">
@ -19,30 +19,21 @@
<property name="windowTitle"> <property name="windowTitle">
<string>Preferences</string> <string>Preferences</string>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout_9"> <layout class="QVBoxLayout" name="verticalLayout_7">
<property name="spacing"> <item>
<number>15</number>
</property>
<item alignment="Qt::AlignTop">
<widget class="QTabWidget" name="m_pTabWidget"> <widget class="QTabWidget" name="m_pTabWidget">
<property name="tabPosition"> <property name="tabPosition">
<enum>QTabWidget::North</enum> <enum>QTabWidget::TabPosition::North</enum>
</property> </property>
<property name="currentIndex"> <property name="currentIndex">
<number>1</number> <number>0</number>
</property> </property>
<widget class="QWidget" name="m_pTabRegular"> <widget class="QWidget" name="m_pTabRegular">
<attribute name="title"> <attribute name="title">
<string>&amp;Regular</string> <string>&amp;Regular</string>
</attribute> </attribute>
<layout class="QVBoxLayout" name="verticalLayout_3"> <layout class="QVBoxLayout" name="verticalLayout_3">
<property name="spacing"> <item>
<number>15</number>
</property>
<property name="topMargin">
<number>15</number>
</property>
<item alignment="Qt::AlignTop">
<widget class="QGroupBox" name="m_pGroupBasics"> <widget class="QGroupBox" name="m_pGroupBasics">
<property name="title"> <property name="title">
<string>Basics</string> <string>Basics</string>
@ -72,10 +63,10 @@
<item> <item>
<spacer name="horizontalSpacer"> <spacer name="horizontalSpacer">
<property name="orientation"> <property name="orientation">
<enum>Qt::Horizontal</enum> <enum>Qt::Orientation::Horizontal</enum>
</property> </property>
<property name="sizeType"> <property name="sizeType">
<enum>QSizePolicy::Maximum</enum> <enum>QSizePolicy::Policy::Maximum</enum>
</property> </property>
<property name="sizeHint" stdset="0"> <property name="sizeHint" stdset="0">
<size> <size>
@ -121,7 +112,7 @@
</layout> </layout>
</widget> </widget>
</item> </item>
<item alignment="Qt::AlignTop"> <item>
<widget class="QGroupBox" name="m_pGroupApp"> <widget class="QGroupBox" name="m_pGroupApp">
<property name="title"> <property name="title">
<string>App</string> <string>App</string>
@ -144,7 +135,7 @@
</layout> </layout>
</widget> </widget>
</item> </item>
<item alignment="Qt::AlignTop"> <item>
<widget class="QGroupBox" name="m_pGroupSecurity"> <widget class="QGroupBox" name="m_pGroupSecurity">
<property name="title"> <property name="title">
<string>Security</string> <string>Security</string>
@ -177,7 +168,7 @@
<item> <item>
<spacer name="horizontalSpacer_2"> <spacer name="horizontalSpacer_2">
<property name="orientation"> <property name="orientation">
<enum>Qt::Horizontal</enum> <enum>Qt::Orientation::Horizontal</enum>
</property> </property>
<property name="sizeHint" stdset="0"> <property name="sizeHint" stdset="0">
<size> <size>
@ -245,10 +236,10 @@
<item> <item>
<spacer name="horizontalSpacer_3"> <spacer name="horizontalSpacer_3">
<property name="orientation"> <property name="orientation">
<enum>Qt::Horizontal</enum> <enum>Qt::Orientation::Horizontal</enum>
</property> </property>
<property name="sizeType"> <property name="sizeType">
<enum>QSizePolicy::Minimum</enum> <enum>QSizePolicy::Policy::Minimum</enum>
</property> </property>
<property name="sizeHint" stdset="0"> <property name="sizeHint" stdset="0">
<size> <size>
@ -291,7 +282,7 @@
<item> <item>
<spacer name="horizontalSpacer_4"> <spacer name="horizontalSpacer_4">
<property name="orientation"> <property name="orientation">
<enum>Qt::Horizontal</enum> <enum>Qt::Orientation::Horizontal</enum>
</property> </property>
<property name="sizeHint" stdset="0"> <property name="sizeHint" stdset="0">
<size> <size>
@ -313,33 +304,14 @@
</layout> </layout>
</widget> </widget>
</item> </item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout> </layout>
</widget> </widget>
<widget class="QWidget" name="m_pTabAdvanced"> <widget class="QWidget" name="m_pTabAdvanced">
<attribute name="title"> <attribute name="title">
<string>&amp;Advanced</string> <string>&amp;Advanced</string>
</attribute> </attribute>
<layout class="QVBoxLayout" name="verticalLayout_8"> <layout class="QVBoxLayout" name="verticalLayout_6">
<property name="spacing"> <item>
<number>15</number>
</property>
<property name="topMargin">
<number>15</number>
</property>
<item alignment="Qt::AlignTop">
<widget class="QGroupBox" name="m_pGroupNetworking"> <widget class="QGroupBox" name="m_pGroupNetworking">
<property name="title"> <property name="title">
<string>Networking</string> <string>Networking</string>
@ -414,7 +386,7 @@
</layout> </layout>
</widget> </widget>
</item> </item>
<item alignment="Qt::AlignTop"> <item>
<widget class="QGroupBox" name="m_pGroupLogs"> <widget class="QGroupBox" name="m_pGroupLogs">
<property name="title"> <property name="title">
<string>Logs</string> <string>Logs</string>
@ -432,7 +404,7 @@
<item row="0" column="1"> <item row="0" column="1">
<spacer name="horizontalSpacer_5"> <spacer name="horizontalSpacer_5">
<property name="orientation"> <property name="orientation">
<enum>Qt::Horizontal</enum> <enum>Qt::Orientation::Horizontal</enum>
</property> </property>
<property name="sizeHint" stdset="0"> <property name="sizeHint" stdset="0">
<size> <size>
@ -516,10 +488,10 @@
<item> <item>
<spacer name="horizontalSpacer_7"> <spacer name="horizontalSpacer_7">
<property name="orientation"> <property name="orientation">
<enum>Qt::Horizontal</enum> <enum>Qt::Orientation::Horizontal</enum>
</property> </property>
<property name="sizeType"> <property name="sizeType">
<enum>QSizePolicy::Minimum</enum> <enum>QSizePolicy::Policy::Minimum</enum>
</property> </property>
<property name="sizeHint" stdset="0"> <property name="sizeHint" stdset="0">
<size> <size>
@ -563,7 +535,7 @@
</layout> </layout>
</widget> </widget>
</item> </item>
<item alignment="Qt::AlignTop"> <item>
<widget class="QGroupBox" name="m_pGroupService"> <widget class="QGroupBox" name="m_pGroupService">
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Expanding"> <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
@ -605,7 +577,7 @@
</size> </size>
</property> </property>
<property name="toolTip"> <property name="toolTip">
<string>Specify when the Windows background service should run the server or client <string>Specify when the Windows background service should run the server or client
process at an elevated privilege level.</string> process at an elevated privilege level.</string>
</property> </property>
<property name="whatsThis"> <property name="whatsThis">
@ -644,11 +616,8 @@
</item> </item>
<item row="0" column="0"> <item row="0" column="0">
<widget class="QCheckBox" name="m_pCheckBoxServiceEnabled"> <widget class="QCheckBox" name="m_pCheckBoxServiceEnabled">
<property name="text">
<string>Use background service (daemon)</string>
</property>
<property name="toolTip"> <property name="toolTip">
<string>Whether to launch the server or client process through the Windows background <string>Whether to launch the server or client process through the Windows background
service or direct from the GUI.</string> service or direct from the GUI.</string>
</property> </property>
<property name="whatsThis"> <property name="whatsThis">
@ -661,31 +630,21 @@
&lt;/ul&gt; &lt;/ul&gt;
</string> </string>
</property> </property>
<property name="text">
<string>Use background service (daemon)</string>
</property>
</widget> </widget>
</item> </item>
</layout> </layout>
</widget> </widget>
</item> </item>
<item alignment="Qt::AlignTop"> <item>
<widget class="QGroupBox" name="m_pGroupScope"> <widget class="QGroupBox" name="m_pGroupScope">
<property name="title"> <property name="title">
<string>Use settings profile from</string> <string>Use settings profile from</string>
</property> </property>
<layout class="QGridLayout" name="gridLayout_2"> <layout class="QHBoxLayout" name="horizontalLayout_3">
<property name="topMargin"> <item>
<number>5</number>
</property>
<item row="0" column="1">
<widget class="QRadioButton" name="m_pRadioSystemScope">
<property name="text">
<string>All users</string>
</property>
<property name="checked">
<bool>false</bool>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QRadioButton" name="m_pRadioUserScope"> <widget class="QRadioButton" name="m_pRadioUserScope">
<property name="text"> <property name="text">
<string>Current user</string> <string>Current user</string>
@ -695,22 +654,19 @@
</property> </property>
</widget> </widget>
</item> </item>
<item>
<widget class="QRadioButton" name="m_pRadioSystemScope">
<property name="text">
<string>All users</string>
</property>
<property name="checked">
<bool>false</bool>
</property>
</widget>
</item>
</layout> </layout>
</widget> </widget>
</item> </item>
<item>
<spacer name="verticalSpacer_3">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout> </layout>
</widget> </widget>
</widget> </widget>
@ -718,12 +674,15 @@
<item> <item>
<spacer name="verticalSpacer_2"> <spacer name="verticalSpacer_2">
<property name="orientation"> <property name="orientation">
<enum>Qt::Vertical</enum> <enum>Qt::Orientation::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Policy::Fixed</enum>
</property> </property>
<property name="sizeHint" stdset="0"> <property name="sizeHint" stdset="0">
<size> <size>
<width>20</width> <width>20</width>
<height>40</height> <height>20</height>
</size> </size>
</property> </property>
</spacer> </spacer>
@ -731,10 +690,10 @@
<item> <item>
<widget class="QDialogButtonBox" name="m_pButtonBox"> <widget class="QDialogButtonBox" name="m_pButtonBox">
<property name="orientation"> <property name="orientation">
<enum>Qt::Horizontal</enum> <enum>Qt::Orientation::Horizontal</enum>
</property> </property>
<property name="standardButtons"> <property name="standardButtons">
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Save</set> <set>QDialogButtonBox::StandardButton::Cancel|QDialogButtonBox::StandardButton::Save</set>
</property> </property>
</widget> </widget>
</item> </item>
@ -757,6 +716,7 @@
<tabstop>m_pRadioSystemScope</tabstop> <tabstop>m_pRadioSystemScope</tabstop>
<tabstop>m_pComboElevate</tabstop> <tabstop>m_pComboElevate</tabstop>
</tabstops> </tabstops>
<resources/>
<connections> <connections>
<connection> <connection>
<sender>m_pButtonBox</sender> <sender>m_pButtonBox</sender>