mirror of
https://github.com/stenzek/duckstation.git
synced 2025-06-10 05:17:19 +00:00
Qt: Remove redundant nested layouts
This commit is contained in:
parent
c7052a1903
commit
7752b2bd2d
@ -27,7 +27,10 @@
|
|||||||
<number>0</number>
|
<number>0</number>
|
||||||
</property>
|
</property>
|
||||||
<item>
|
<item>
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout_3" stretch="0,1,0">
|
<layout class="QHBoxLayout" name="horizontalLayout" stretch="0,0,0,0,0,1,0,0,0">
|
||||||
|
<property name="spacing">
|
||||||
|
<number>3</number>
|
||||||
|
</property>
|
||||||
<property name="leftMargin">
|
<property name="leftMargin">
|
||||||
<number>3</number>
|
<number>3</number>
|
||||||
</property>
|
</property>
|
||||||
@ -41,184 +44,164 @@
|
|||||||
<number>3</number>
|
<number>3</number>
|
||||||
</property>
|
</property>
|
||||||
<item>
|
<item>
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
<widget class="QToolButton" name="viewGameList">
|
||||||
<property name="spacing">
|
<property name="minimumSize">
|
||||||
<number>3</number>
|
<size>
|
||||||
|
<width>32</width>
|
||||||
|
<height>0</height>
|
||||||
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<item>
|
<property name="text">
|
||||||
<widget class="QToolButton" name="viewGameList">
|
<string>Game List</string>
|
||||||
<property name="minimumSize">
|
</property>
|
||||||
<size>
|
<property name="icon">
|
||||||
<width>32</width>
|
<iconset theme="list-check"/>
|
||||||
<height>0</height>
|
</property>
|
||||||
</size>
|
<property name="checkable">
|
||||||
</property>
|
<bool>true</bool>
|
||||||
<property name="text">
|
</property>
|
||||||
<string>Game List</string>
|
<property name="autoRaise">
|
||||||
</property>
|
<bool>true</bool>
|
||||||
<property name="icon">
|
</property>
|
||||||
<iconset theme="list-check"/>
|
</widget>
|
||||||
</property>
|
</item>
|
||||||
<property name="checkable">
|
<item>
|
||||||
<bool>true</bool>
|
<widget class="QToolButton" name="viewGameGrid">
|
||||||
</property>
|
<property name="minimumSize">
|
||||||
<property name="autoRaise">
|
<size>
|
||||||
<bool>true</bool>
|
<width>32</width>
|
||||||
</property>
|
<height>0</height>
|
||||||
</widget>
|
</size>
|
||||||
</item>
|
</property>
|
||||||
<item>
|
<property name="text">
|
||||||
<widget class="QToolButton" name="viewGameGrid">
|
<string>Game Grid</string>
|
||||||
<property name="minimumSize">
|
</property>
|
||||||
<size>
|
<property name="icon">
|
||||||
<width>32</width>
|
<iconset theme="function-line"/>
|
||||||
<height>0</height>
|
</property>
|
||||||
</size>
|
<property name="checkable">
|
||||||
</property>
|
<bool>true</bool>
|
||||||
<property name="text">
|
</property>
|
||||||
<string>Game Grid</string>
|
<property name="autoRaise">
|
||||||
</property>
|
<bool>true</bool>
|
||||||
<property name="icon">
|
</property>
|
||||||
<iconset theme="function-line"/>
|
</widget>
|
||||||
</property>
|
</item>
|
||||||
<property name="checkable">
|
<item>
|
||||||
<bool>true</bool>
|
<widget class="QToolButton" name="viewMergeDiscSets">
|
||||||
</property>
|
<property name="minimumSize">
|
||||||
<property name="autoRaise">
|
<size>
|
||||||
<bool>true</bool>
|
<width>32</width>
|
||||||
</property>
|
<height>0</height>
|
||||||
</widget>
|
</size>
|
||||||
</item>
|
</property>
|
||||||
<item>
|
<property name="text">
|
||||||
<widget class="QToolButton" name="viewMergeDiscSets">
|
<string>Merge Multi-Disc Games</string>
|
||||||
<property name="minimumSize">
|
</property>
|
||||||
<size>
|
<property name="icon">
|
||||||
<width>32</width>
|
<iconset theme="play-list-2-line"/>
|
||||||
<height>0</height>
|
</property>
|
||||||
</size>
|
<property name="checkable">
|
||||||
</property>
|
<bool>true</bool>
|
||||||
<property name="text">
|
</property>
|
||||||
<string>Merge Multi-Disc Games</string>
|
<property name="autoRaise">
|
||||||
</property>
|
<bool>true</bool>
|
||||||
<property name="icon">
|
</property>
|
||||||
<iconset theme="play-list-2-line"/>
|
</widget>
|
||||||
</property>
|
</item>
|
||||||
<property name="checkable">
|
<item>
|
||||||
<bool>true</bool>
|
<widget class="QToolButton" name="viewGridTitles">
|
||||||
</property>
|
<property name="minimumSize">
|
||||||
<property name="autoRaise">
|
<size>
|
||||||
<bool>true</bool>
|
<width>32</width>
|
||||||
</property>
|
<height>0</height>
|
||||||
</widget>
|
</size>
|
||||||
</item>
|
</property>
|
||||||
<item>
|
<property name="text">
|
||||||
<widget class="QToolButton" name="viewGridTitles">
|
<string>Show Titles</string>
|
||||||
<property name="minimumSize">
|
</property>
|
||||||
<size>
|
<property name="icon">
|
||||||
<width>32</width>
|
<iconset theme="price-tag-3-line"/>
|
||||||
<height>0</height>
|
</property>
|
||||||
</size>
|
<property name="checkable">
|
||||||
</property>
|
<bool>true</bool>
|
||||||
<property name="text">
|
</property>
|
||||||
<string>Show Titles</string>
|
<property name="autoRaise">
|
||||||
</property>
|
<bool>true</bool>
|
||||||
<property name="icon">
|
</property>
|
||||||
<iconset theme="price-tag-3-line"/>
|
</widget>
|
||||||
</property>
|
</item>
|
||||||
<property name="checkable">
|
<item>
|
||||||
<bool>true</bool>
|
<widget class="QSlider" name="gridScale">
|
||||||
</property>
|
<property name="minimumSize">
|
||||||
<property name="autoRaise">
|
<size>
|
||||||
<bool>true</bool>
|
<width>125</width>
|
||||||
</property>
|
<height>0</height>
|
||||||
</widget>
|
</size>
|
||||||
</item>
|
</property>
|
||||||
<item>
|
<property name="maximumSize">
|
||||||
<widget class="QSlider" name="gridScale">
|
<size>
|
||||||
<property name="minimumSize">
|
<width>125</width>
|
||||||
<size>
|
<height>16777215</height>
|
||||||
<width>125</width>
|
</size>
|
||||||
<height>0</height>
|
</property>
|
||||||
</size>
|
<property name="minimum">
|
||||||
</property>
|
<number>10</number>
|
||||||
<property name="maximumSize">
|
</property>
|
||||||
<size>
|
<property name="maximum">
|
||||||
<width>125</width>
|
<number>200</number>
|
||||||
<height>16777215</height>
|
</property>
|
||||||
</size>
|
<property name="orientation">
|
||||||
</property>
|
<enum>Qt::Orientation::Horizontal</enum>
|
||||||
<property name="minimum">
|
</property>
|
||||||
<number>10</number>
|
</widget>
|
||||||
</property>
|
|
||||||
<property name="maximum">
|
|
||||||
<number>200</number>
|
|
||||||
</property>
|
|
||||||
<property name="orientation">
|
|
||||||
<enum>Qt::Orientation::Horizontal</enum>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
</layout>
|
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<spacer name="horizontalSpacer">
|
<spacer name="horizontalSpacer">
|
||||||
<property name="orientation">
|
<property name="orientation">
|
||||||
<enum>Qt::Orientation::Horizontal</enum>
|
<enum>Qt::Orientation::Horizontal</enum>
|
||||||
</property>
|
</property>
|
||||||
<property name="sizeHint" stdset="0">
|
|
||||||
<size>
|
|
||||||
<width>40</width>
|
|
||||||
<height>20</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
</spacer>
|
</spacer>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
<widget class="QComboBox" name="filterType">
|
||||||
<property name="spacing">
|
<item>
|
||||||
<number>6</number>
|
<property name="text">
|
||||||
|
<string>All Types</string>
|
||||||
|
</property>
|
||||||
|
<property name="icon">
|
||||||
|
<iconset theme="filter-line"/>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QComboBox" name="filterRegion">
|
||||||
|
<item>
|
||||||
|
<property name="text">
|
||||||
|
<string>All Regions</string>
|
||||||
|
</property>
|
||||||
|
<property name="icon">
|
||||||
|
<iconset theme="global-line"/>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QLineEdit" name="searchText">
|
||||||
|
<property name="minimumSize">
|
||||||
|
<size>
|
||||||
|
<width>200</width>
|
||||||
|
<height>0</height>
|
||||||
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<item>
|
<property name="placeholderText">
|
||||||
<widget class="QComboBox" name="filterType">
|
<string>Search...</string>
|
||||||
<item>
|
</property>
|
||||||
<property name="text">
|
<property name="clearButtonEnabled">
|
||||||
<string>All Types</string>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
<property name="icon">
|
</widget>
|
||||||
<iconset theme="filter-line"/>
|
|
||||||
</property>
|
|
||||||
</item>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<widget class="QComboBox" name="filterRegion">
|
|
||||||
<item>
|
|
||||||
<property name="text">
|
|
||||||
<string>All Regions</string>
|
|
||||||
</property>
|
|
||||||
<property name="icon">
|
|
||||||
<iconset theme="global-line"/>
|
|
||||||
</property>
|
|
||||||
</item>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<widget class="QLineEdit" name="searchText">
|
|
||||||
<property name="minimumSize">
|
|
||||||
<size>
|
|
||||||
<width>200</width>
|
|
||||||
<height>0</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
<property name="placeholderText">
|
|
||||||
<string>Search...</string>
|
|
||||||
</property>
|
|
||||||
<property name="clearButtonEnabled">
|
|
||||||
<bool>true</bool>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
</layout>
|
|
||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</item>
|
</item>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user