Re-order widgets and increase window size to remove scrollbar

This commit is contained in:
tomboylover93 2025-01-24 17:55:13 -03:00
parent b0429114fc
commit 5f47f09c03

View File

@ -1,4 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!-- SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
SPDX-License-Identifier: GPL-2.0-or-later -->
<ui version="4.0"> <ui version="4.0">
<class>SettingsDialog</class> <class>SettingsDialog</class>
<widget class="QDialog" name="SettingsDialog"> <widget class="QDialog" name="SettingsDialog">
@ -9,8 +11,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>970</width> <width>1010</width>
<height>663</height> <height>754</height>
</rect> </rect>
</property> </property>
<property name="sizePolicy"> <property name="sizePolicy">
@ -57,7 +59,7 @@
</size> </size>
</property> </property>
<property name="currentIndex"> <property name="currentIndex">
<number>0</number> <number>1</number>
</property> </property>
<widget class="QScrollArea" name="generalTab"> <widget class="QScrollArea" name="generalTab">
<property name="widgetResizable"> <property name="widgetResizable">
@ -71,8 +73,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>940</width> <width>980</width>
<height>406</height> <height>497</height>
</rect> </rect>
</property> </property>
<layout class="QVBoxLayout" name="generalTabVLayout" stretch="0"> <layout class="QVBoxLayout" name="generalTabVLayout" stretch="0">
@ -481,7 +483,7 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>919</width> <width>980</width>
<height>497</height> <height>497</height>
</rect> </rect>
</property> </property>
@ -516,14 +518,14 @@
<property name="title"> <property name="title">
<string>GUI Settings</string> <string>GUI Settings</string>
</property> </property>
<layout class="QVBoxLayout" name="GUILayout"> <layout class="QGridLayout" name="gridLayout_4">
<property name="topMargin"> <property name="topMargin">
<number>9</number> <number>9</number>
</property> </property>
<property name="bottomMargin"> <property name="bottomMargin">
<number>9</number> <number>9</number>
</property> </property>
<item> <item row="0" column="0">
<widget class="QGroupBox" name="chooseHomeTabGroupBox"> <widget class="QGroupBox" name="chooseHomeTabGroupBox">
<property name="title"> <property name="title">
<string>Default tab when opening settings</string> <string>Default tab when opening settings</string>
@ -577,14 +579,82 @@
</layout> </layout>
</widget> </widget>
</item> </item>
<item> <item row="1" column="0">
<widget class="QCheckBox" name="gameSizeCheckBox"> <widget class="QCheckBox" name="gameSizeCheckBox">
<property name="text"> <property name="text">
<string>Show Game Size In List</string> <string>Show Game Size In List</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item row="2" column="0">
<widget class="QGroupBox" name="widgetComboBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>97</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="title">
<string>Current Widget Style</string>
</property>
<layout class="QVBoxLayout" name="currentwidgetLayout_3">
<item>
<widget class="QComboBox" name="currentWidgetComboBox">
<property name="enabled">
<bool>true</bool>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="sizeIncrement">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="baseSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<item>
<property name="text">
<string>Fusion</string>
</property>
</item>
<item>
<property name="text">
<string>System</string>
</property>
</item>
</widget>
</item>
</layout>
</widget>
</item>
<item row="3" column="0">
<widget class="QGroupBox" name="GUIMusicGroupBox"> <widget class="QGroupBox" name="GUIMusicGroupBox">
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding"> <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
@ -603,101 +673,91 @@
<bool>false</bool> <bool>false</bool>
</property> </property>
<property name="title"> <property name="title">
<string/> <string>Title Music</string>
</property> </property>
<property name="flat"> <property name="flat">
<bool>false</bool> <bool>false</bool>
</property> </property>
<widget class="QSlider" name="BGMVolumeSlider"> <layout class="QGridLayout" name="gridLayout_3">
<property name="geometry"> <item row="2" column="0">
<rect> <widget class="QSlider" name="BGMVolumeSlider">
<x>10</x> <property name="sizePolicy">
<y>80</y> <sizepolicy hsizetype="Fixed" vsizetype="Expanding">
<width>416</width> <horstretch>0</horstretch>
<height>29</height> <verstretch>0</verstretch>
</rect> </sizepolicy>
</property> </property>
<property name="sizePolicy"> <property name="maximumSize">
<sizepolicy hsizetype="Minimum" vsizetype="Preferred"> <size>
<horstretch>0</horstretch> <width>431</width>
<verstretch>0</verstretch> <height>29</height>
</sizepolicy> </size>
</property> </property>
<property name="toolTip"> <property name="toolTip">
<string>Set the volume of the background music.</string> <string>Set the volume of the background music.</string>
</property> </property>
<property name="maximum"> <property name="maximum">
<number>100</number> <number>100</number>
</property> </property>
<property name="singleStep"> <property name="singleStep">
<number>10</number> <number>10</number>
</property> </property>
<property name="pageStep"> <property name="pageStep">
<number>20</number> <number>20</number>
</property> </property>
<property name="value"> <property name="value">
<number>50</number> <number>50</number>
</property> </property>
<property name="orientation"> <property name="orientation">
<enum>Qt::Orientation::Horizontal</enum> <enum>Qt::Orientation::Horizontal</enum>
</property> </property>
<property name="invertedAppearance"> <property name="invertedAppearance">
<bool>false</bool> <bool>false</bool>
</property> </property>
<property name="invertedControls"> <property name="invertedControls">
<bool>false</bool> <bool>false</bool>
</property> </property>
<property name="tickPosition"> <property name="tickPosition">
<enum>QSlider::TickPosition::NoTicks</enum> <enum>QSlider::TickPosition::NoTicks</enum>
</property> </property>
<property name="tickInterval"> <property name="tickInterval">
<number>10</number> <number>10</number>
</property> </property>
</widget> </widget>
<widget class="QCheckBox" name="playBGMCheckBox"> </item>
<property name="geometry"> <item row="1" column="0">
<rect> <widget class="QLabel" name="label_Volume">
<x>10</x> <property name="sizePolicy">
<y>22</y> <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<width>416</width> <horstretch>0</horstretch>
<height>26</height> <verstretch>0</verstretch>
</rect> </sizepolicy>
</property> </property>
<property name="sizePolicy"> <property name="maximumSize">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed"> <size>
<horstretch>0</horstretch> <width>16777215</width>
<verstretch>0</verstretch> <height>16777215</height>
</sizepolicy> </size>
</property> </property>
<property name="text"> <property name="text">
<string>Play title music</string> <string>Volume</string>
</property> </property>
</widget> </widget>
<widget class="QLabel" name="label_Volume"> </item>
<property name="geometry"> <item row="0" column="0">
<rect> <widget class="QCheckBox" name="playBGMCheckBox">
<x>10</x> <property name="sizePolicy">
<y>54</y> <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<width>416</width> <horstretch>0</horstretch>
<height>20</height> <verstretch>0</verstretch>
</rect> </sizepolicy>
</property> </property>
<property name="sizePolicy"> <property name="text">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed"> <string>Play title music</string>
<horstretch>0</horstretch> </property>
<verstretch>0</verstretch> </widget>
</sizepolicy> </item>
</property> </layout>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>Volume</string>
</property>
</widget>
</widget> </widget>
</item> </item>
</layout> </layout>
@ -706,7 +766,7 @@
</layout> </layout>
</item> </item>
<item> <item>
<layout class="QVBoxLayout" name="CompatTabLayoutRight" stretch="0,0"> <layout class="QVBoxLayout" name="CompatTabLayoutRight" stretch="0">
<property name="spacing"> <property name="spacing">
<number>6</number> <number>6</number>
</property> </property>
@ -788,74 +848,6 @@
</layout> </layout>
</widget> </widget>
</item> </item>
<item>
<widget class="QGroupBox" name="widgetComboBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>97</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="title">
<string>Current Widget Style</string>
</property>
<layout class="QVBoxLayout" name="currentwidgetLayout_3">
<item>
<widget class="QComboBox" name="currentWidgetComboBox">
<property name="enabled">
<bool>true</bool>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="sizeIncrement">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="baseSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<item>
<property name="text">
<string>Fusion</string>
</property>
</item>
<item>
<property name="text">
<string>System</string>
</property>
</item>
</widget>
</item>
</layout>
</widget>
</item>
</layout> </layout>
</item> </item>
</layout> </layout>
@ -875,8 +867,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>940</width> <width>980</width>
<height>406</height> <height>497</height>
</rect> </rect>
</property> </property>
<layout class="QVBoxLayout" name="graphicsTabVLayout" stretch="0,0"> <layout class="QVBoxLayout" name="graphicsTabVLayout" stretch="0,0">
@ -1119,8 +1111,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>940</width> <width>980</width>
<height>406</height> <height>497</height>
</rect> </rect>
</property> </property>
<layout class="QVBoxLayout" name="debugTabVLayout" stretch="0,0,1"> <layout class="QVBoxLayout" name="debugTabVLayout" stretch="0,0,1">
@ -1263,8 +1255,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>940</width> <width>980</width>
<height>406</height> <height>497</height>
</rect> </rect>
</property> </property>
<layout class="QVBoxLayout" name="inputTabVLayout" stretch="0,0"> <layout class="QVBoxLayout" name="inputTabVLayout" stretch="0,0">
@ -1547,8 +1539,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>940</width> <width>980</width>
<height>406</height> <height>497</height>
</rect> </rect>
</property> </property>
<layout class="QVBoxLayout" name="pathsTabLayout"> <layout class="QVBoxLayout" name="pathsTabLayout">
@ -1637,8 +1629,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>940</width> <width>980</width>
<height>406</height> <height>497</height>
</rect> </rect>
</property> </property>
<layout class="QVBoxLayout" name="debugTabVLayout" stretch="0,1"> <layout class="QVBoxLayout" name="debugTabVLayout" stretch="0,1">