Remove maxmimumSize where inappropriate, as it breaks on other layouts

This commit is contained in:
baldurk
2016-11-21 12:36:13 +01:00
parent 2483fd776a
commit 1ea3e5bcda
4 changed files with 7 additions and 271 deletions
+2 -32
View File
@@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>160</width>
<height>120</height>
<width>168</width>
<height>127</height>
</rect>
</property>
<property name="sizePolicy">
@@ -16,18 +16,6 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>160</width>
<height>120</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>178</width>
<height>120</height>
</size>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
@@ -64,12 +52,6 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
</widget>
</item>
<item row="1" column="0">
@@ -80,12 +62,6 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>32</height>
</size>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
@@ -109,12 +85,6 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>32</height>
</size>
</property>
<property name="font">
<font>
<pointsize>10</pointsize>
+1 -193
View File
@@ -6,7 +6,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>270</width>
<width>578</width>
<height>939</height>
</rect>
</property>
@@ -58,12 +58,6 @@
<height>20</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>20</height>
</size>
</property>
</widget>
</item>
<item row="0" column="3">
@@ -123,12 +117,6 @@
<height>20</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>20</height>
</size>
</property>
</widget>
</item>
<item row="2" column="2" colspan="2">
@@ -139,22 +127,10 @@
<height>20</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>20</height>
</size>
</property>
</widget>
</item>
<item row="3" column="2">
<widget class="QLineEdit" name="envVar">
<property name="maximumSize">
<size>
<width>16777215</width>
<height>20</height>
</size>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
@@ -377,18 +353,6 @@ Click here to set up Vulkan capture.</string>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QCheckBox" name="AllowFullscreen">
<property name="minimumSize">
<size>
<width>150</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>150</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>Allow Fullscreen</string>
</property>
@@ -396,18 +360,6 @@ Click here to set up Vulkan capture.</string>
</item>
<item>
<widget class="QCheckBox" name="AllowVSync">
<property name="minimumSize">
<size>
<width>150</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>150</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>Allow VSync</string>
</property>
@@ -421,18 +373,6 @@ Click here to set up Vulkan capture.</string>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>150</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>150</width>
<height>16777215</height>
</size>
</property>
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
@@ -501,18 +441,6 @@ Click here to set up Vulkan capture.</string>
</item>
<item>
<widget class="QCheckBox" name="CaptureCallstacks">
<property name="minimumSize">
<size>
<width>150</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>150</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>Collect Callstacks</string>
</property>
@@ -520,18 +448,6 @@ Click here to set up Vulkan capture.</string>
</item>
<item>
<widget class="QCheckBox" name="CaptureCallstacksOnlyDraws">
<property name="minimumSize">
<size>
<width>150</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>150</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>Only Drawcall stacks</string>
</property>
@@ -539,18 +455,6 @@ Click here to set up Vulkan capture.</string>
</item>
<item>
<widget class="QCheckBox" name="APIValidation">
<property name="minimumSize">
<size>
<width>150</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>150</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>Enable API Validation</string>
</property>
@@ -558,18 +462,6 @@ Click here to set up Vulkan capture.</string>
</item>
<item>
<widget class="QCheckBox" name="HookIntoChildren">
<property name="minimumSize">
<size>
<width>150</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>150</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>Hook into Children</string>
</property>
@@ -577,18 +469,6 @@ Click here to set up Vulkan capture.</string>
</item>
<item>
<widget class="QCheckBox" name="SaveAllInitials">
<property name="minimumSize">
<size>
<width>150</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>150</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>Save all Initials</string>
</property>
@@ -596,18 +476,6 @@ Click here to set up Vulkan capture.</string>
</item>
<item>
<widget class="QCheckBox" name="RefAllResources">
<property name="minimumSize">
<size>
<width>150</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>150</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>Ref all Resources</string>
</property>
@@ -615,18 +483,6 @@ Click here to set up Vulkan capture.</string>
</item>
<item>
<widget class="QCheckBox" name="CaptureAllCmdLists">
<property name="minimumSize">
<size>
<width>150</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>150</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>Capture all Cmd Lists</string>
</property>
@@ -634,18 +490,6 @@ Click here to set up Vulkan capture.</string>
</item>
<item>
<widget class="QCheckBox" name="VerifyMapWrites">
<property name="minimumSize">
<size>
<width>150</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>150</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>Verify Map() Writes</string>
</property>
@@ -653,18 +497,6 @@ Click here to set up Vulkan capture.</string>
</item>
<item>
<widget class="QCheckBox" name="AutoStart">
<property name="minimumSize">
<size>
<width>150</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>150</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>Auto Start</string>
</property>
@@ -829,12 +661,6 @@ Click here to set up Vulkan capture.</string>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QPushButton" name="saveSettings">
<property name="maximumSize">
<size>
<width>50</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>Save</string>
</property>
@@ -848,12 +674,6 @@ Click here to set up Vulkan capture.</string>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>50</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>Load</string>
</property>
@@ -877,12 +697,6 @@ Click here to set up Vulkan capture.</string>
</item>
<item>
<widget class="QPushButton" name="capture">
<property name="maximumSize">
<size>
<width>60</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>Capture</string>
</property>
@@ -890,12 +704,6 @@ Click here to set up Vulkan capture.</string>
</item>
<item>
<widget class="QPushButton" name="close">
<property name="maximumSize">
<size>
<width>50</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>Close</string>
</property>
+3 -21
View File
@@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>1032</width>
<height>732</height>
<width>749</width>
<height>483</height>
</rect>
</property>
<property name="windowTitle">
@@ -228,7 +228,7 @@
<item>
<widget class="QListWidget" name="childProcesses">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="MinimumExpanding">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@@ -239,12 +239,6 @@
<height>40</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>80</height>
</size>
</property>
<property name="sizeAdjustPolicy">
<enum>QAbstractScrollArea::AdjustToContents</enum>
</property>
@@ -400,18 +394,6 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property>
</widget>
</widget>
</widget>
+1 -25
View File
@@ -96,12 +96,6 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>100</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>0.0</string>
</property>
@@ -131,12 +125,6 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>100</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>1.0</string>
</property>
@@ -758,12 +746,6 @@
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="editable">
<bool>true</bool>
</property>
@@ -928,7 +910,7 @@
<x>250</x>
<y>220</y>
<width>291</width>
<height>241</height>
<height>231</height>
</rect>
</property>
<property name="sizePolicy">
@@ -1024,12 +1006,6 @@
<height>14</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>32</width>
<height>14</height>
</size>
</property>
</widget>
</item>
<item>