mirror of
https://github.com/stenzek/duckstation.git
synced 2025-07-19 00:20:12 +00:00
Qt: Reduce layout margins in postprocessing settings
And remove a redundant VBoxLayout
This commit is contained in:
parent
0e9f116a2e
commit
d0c3f7d5a2
@ -6,11 +6,23 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>683</width>
|
<width>640</width>
|
||||||
<height>514</height>
|
<height>480</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout" stretch="0,0,0,0">
|
<layout class="QVBoxLayout" name="verticalLayout">
|
||||||
|
<property name="leftMargin">
|
||||||
|
<number>3</number>
|
||||||
|
</property>
|
||||||
|
<property name="topMargin">
|
||||||
|
<number>6</number>
|
||||||
|
</property>
|
||||||
|
<property name="rightMargin">
|
||||||
|
<number>3</number>
|
||||||
|
</property>
|
||||||
|
<property name="bottomMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
<item>
|
<item>
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||||
<item>
|
<item>
|
||||||
@ -46,12 +58,12 @@
|
|||||||
</layout>
|
</layout>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QGroupBox" name="groupBox_2">
|
<widget class="QGroupBox" name="groupBox">
|
||||||
<property name="title">
|
<property name="title">
|
||||||
<string>Post Processing Chain</string>
|
<string>Post Processing Chain</string>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QGridLayout" name="gridLayout_2">
|
<layout class="QGridLayout" name="gridLayout">
|
||||||
<item row="0" column="0">
|
<item row="0" column="0" rowspan="5">
|
||||||
<widget class="QListWidget" name="stages">
|
<widget class="QListWidget" name="stages">
|
||||||
<property name="sizePolicy">
|
<property name="sizePolicy">
|
||||||
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
||||||
@ -68,103 +80,99 @@
|
|||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="0" column="1">
|
<item row="0" column="1">
|
||||||
<layout class="QVBoxLayout" name="verticalLayout_3">
|
<widget class="QToolButton" name="add">
|
||||||
<item>
|
<property name="sizePolicy">
|
||||||
<widget class="QToolButton" name="add">
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
||||||
<property name="sizePolicy">
|
<horstretch>0</horstretch>
|
||||||
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
<verstretch>0</verstretch>
|
||||||
<horstretch>0</horstretch>
|
</sizepolicy>
|
||||||
<verstretch>0</verstretch>
|
</property>
|
||||||
</sizepolicy>
|
<property name="text">
|
||||||
</property>
|
<string>Add</string>
|
||||||
<property name="text">
|
</property>
|
||||||
<string>Add</string>
|
<property name="icon">
|
||||||
</property>
|
<iconset theme="add-line"/>
|
||||||
<property name="icon">
|
</property>
|
||||||
<iconset theme="add-line"/>
|
<property name="toolButtonStyle">
|
||||||
</property>
|
<enum>Qt::ToolButtonStyle::ToolButtonTextBesideIcon</enum>
|
||||||
<property name="toolButtonStyle">
|
</property>
|
||||||
<enum>Qt::ToolButtonStyle::ToolButtonTextBesideIcon</enum>
|
</widget>
|
||||||
</property>
|
</item>
|
||||||
</widget>
|
<item row="1" column="1">
|
||||||
</item>
|
<widget class="QToolButton" name="remove">
|
||||||
<item>
|
<property name="sizePolicy">
|
||||||
<widget class="QToolButton" name="remove">
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
||||||
<property name="sizePolicy">
|
<horstretch>0</horstretch>
|
||||||
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
<verstretch>0</verstretch>
|
||||||
<horstretch>0</horstretch>
|
</sizepolicy>
|
||||||
<verstretch>0</verstretch>
|
</property>
|
||||||
</sizepolicy>
|
<property name="text">
|
||||||
</property>
|
<string>Remove</string>
|
||||||
<property name="text">
|
</property>
|
||||||
<string>Remove</string>
|
<property name="icon">
|
||||||
</property>
|
<iconset theme="minus-line"/>
|
||||||
<property name="icon">
|
</property>
|
||||||
<iconset theme="minus-line"/>
|
<property name="toolButtonStyle">
|
||||||
</property>
|
<enum>Qt::ToolButtonStyle::ToolButtonTextBesideIcon</enum>
|
||||||
<property name="toolButtonStyle">
|
</property>
|
||||||
<enum>Qt::ToolButtonStyle::ToolButtonTextBesideIcon</enum>
|
</widget>
|
||||||
</property>
|
</item>
|
||||||
</widget>
|
<item row="2" column="1">
|
||||||
</item>
|
<widget class="QToolButton" name="clear">
|
||||||
<item>
|
<property name="sizePolicy">
|
||||||
<widget class="QToolButton" name="clear">
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
||||||
<property name="sizePolicy">
|
<horstretch>0</horstretch>
|
||||||
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
<verstretch>0</verstretch>
|
||||||
<horstretch>0</horstretch>
|
</sizepolicy>
|
||||||
<verstretch>0</verstretch>
|
</property>
|
||||||
</sizepolicy>
|
<property name="text">
|
||||||
</property>
|
<string>Clear</string>
|
||||||
<property name="text">
|
</property>
|
||||||
<string>Clear</string>
|
<property name="icon">
|
||||||
</property>
|
<iconset theme="trash-fill"/>
|
||||||
<property name="icon">
|
</property>
|
||||||
<iconset theme="trash-fill"/>
|
<property name="toolButtonStyle">
|
||||||
</property>
|
<enum>Qt::ToolButtonStyle::ToolButtonTextBesideIcon</enum>
|
||||||
<property name="toolButtonStyle">
|
</property>
|
||||||
<enum>Qt::ToolButtonStyle::ToolButtonTextBesideIcon</enum>
|
</widget>
|
||||||
</property>
|
</item>
|
||||||
</widget>
|
<item row="3" column="1">
|
||||||
</item>
|
<widget class="QToolButton" name="moveUp">
|
||||||
<item>
|
<property name="sizePolicy">
|
||||||
<widget class="QToolButton" name="moveUp">
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
||||||
<property name="sizePolicy">
|
<horstretch>0</horstretch>
|
||||||
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
<verstretch>0</verstretch>
|
||||||
<horstretch>0</horstretch>
|
</sizepolicy>
|
||||||
<verstretch>0</verstretch>
|
</property>
|
||||||
</sizepolicy>
|
<property name="text">
|
||||||
</property>
|
<string>Move Up</string>
|
||||||
<property name="text">
|
</property>
|
||||||
<string>Move Up</string>
|
<property name="icon">
|
||||||
</property>
|
<iconset theme="arrow-up-line"/>
|
||||||
<property name="icon">
|
</property>
|
||||||
<iconset theme="arrow-up-line"/>
|
<property name="toolButtonStyle">
|
||||||
</property>
|
<enum>Qt::ToolButtonStyle::ToolButtonTextBesideIcon</enum>
|
||||||
<property name="toolButtonStyle">
|
</property>
|
||||||
<enum>Qt::ToolButtonStyle::ToolButtonTextBesideIcon</enum>
|
</widget>
|
||||||
</property>
|
</item>
|
||||||
</widget>
|
<item row="4" column="1">
|
||||||
</item>
|
<widget class="QToolButton" name="moveDown">
|
||||||
<item>
|
<property name="sizePolicy">
|
||||||
<widget class="QToolButton" name="moveDown">
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
||||||
<property name="sizePolicy">
|
<horstretch>0</horstretch>
|
||||||
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
<verstretch>0</verstretch>
|
||||||
<horstretch>0</horstretch>
|
</sizepolicy>
|
||||||
<verstretch>0</verstretch>
|
</property>
|
||||||
</sizepolicy>
|
<property name="text">
|
||||||
</property>
|
<string>Move Down</string>
|
||||||
<property name="text">
|
</property>
|
||||||
<string>Move Down</string>
|
<property name="icon">
|
||||||
</property>
|
<iconset theme="arrow-down-line"/>
|
||||||
<property name="icon">
|
</property>
|
||||||
<iconset theme="arrow-down-line"/>
|
<property name="toolButtonStyle">
|
||||||
</property>
|
<enum>Qt::ToolButtonStyle::ToolButtonTextBesideIcon</enum>
|
||||||
<property name="toolButtonStyle">
|
</property>
|
||||||
<enum>Qt::ToolButtonStyle::ToolButtonTextBesideIcon</enum>
|
</widget>
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
</layout>
|
|
||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
@ -191,8 +199,8 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>661</width>
|
<width>630</width>
|
||||||
<height>220</height>
|
<height>237</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
|
@ -7,13 +7,22 @@
|
|||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>540</width>
|
<width>540</width>
|
||||||
<height>381</height>
|
<height>420</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowTitle">
|
|
||||||
<string>Form</string>
|
|
||||||
</property>
|
|
||||||
<layout class="QVBoxLayout" name="verticalLayout">
|
<layout class="QVBoxLayout" name="verticalLayout">
|
||||||
|
<property name="leftMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property name="topMargin">
|
||||||
|
<number>6</number>
|
||||||
|
</property>
|
||||||
|
<property name="rightMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property name="bottomMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QGroupBox" name="groupBox">
|
<widget class="QGroupBox" name="groupBox">
|
||||||
<property name="title">
|
<property name="title">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user