Commit 64e87982 authored by Moritz Molch's avatar Moritz Molch

Fix the level filter's configuration widget layout

REVIEW:122945
parent 52880e6c
...@@ -2,14 +2,6 @@ ...@@ -2,14 +2,6 @@
<ui version="4.0"> <ui version="4.0">
<class>WdgLevel</class> <class>WdgLevel</class>
<widget class="QWidget" name="WdgLevel"> <widget class="QWidget" name="WdgLevel">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>256</width>
<height>292</height>
</rect>
</property>
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
<horstretch>0</horstretch> <horstretch>0</horstretch>
...@@ -31,31 +23,20 @@ ...@@ -31,31 +23,20 @@
<property name="windowTitle"> <property name="windowTitle">
<string>Levels</string> <string>Levels</string>
</property> </property>
<layout class="QGridLayout" rowstretch="0,0,0,0,0,0,0,0,0,0,0,0,0,0"> <layout class="QVBoxLayout" name="verticalLayout">
<property name="margin"> <property name="leftMargin">
<number>0</number> <number>0</number>
</property> </property>
<item row="7" column="0"> <property name="topMargin">
<widget class="QLabel" name="textLabel3"> <number>0</number>
<property name="text">
<string>&lt;b&gt;Output Levels&lt;/b&gt;</string>
</property> </property>
<property name="wordWrap"> <property name="rightMargin">
<bool>false</bool> <number>0</number>
</property> </property>
</widget> <property name="bottomMargin">
</item> <number>0</number>
<item row="4" column="0">
<widget class="KisGradientSlider" name="ingradient" native="true">
<property name="minimumSize">
<size>
<width>256</width>
<height>24</height>
</size>
</property> </property>
</widget> <item>
</item>
<item row="0" column="0">
<layout class="QHBoxLayout" name="horizontalLayout"> <layout class="QHBoxLayout" name="horizontalLayout">
<item> <item>
<widget class="QLabel" name="textLabel2"> <widget class="QLabel" name="textLabel2">
...@@ -79,7 +60,7 @@ ...@@ -79,7 +60,7 @@
</item> </item>
</layout> </layout>
</item> </item>
<item row="1" column="0" rowspan="2"> <item>
<layout class="QHBoxLayout" name="horizontalLayout_2"> <layout class="QHBoxLayout" name="horizontalLayout_2">
<property name="spacing"> <property name="spacing">
<number>0</number> <number>0</number>
...@@ -126,23 +107,17 @@ ...@@ -126,23 +107,17 @@
</item> </item>
</layout> </layout>
</item> </item>
<item row="6" column="0"> <item>
<spacer name="verticalSpacer"> <widget class="KisGradientSlider" name="ingradient" native="true">
<property name="orientation"> <property name="minimumSize">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size> <size>
<width>0</width> <width>256</width>
<height>0</height> <height>24</height>
</size> </size>
</property> </property>
</spacer> </widget>
</item> </item>
<item row="5" column="0"> <item>
<layout class="QHBoxLayout"> <layout class="QHBoxLayout">
<item> <item>
<widget class="QSpinBox" name="blackspin"> <widget class="QSpinBox" name="blackspin">
...@@ -217,7 +192,43 @@ ...@@ -217,7 +192,43 @@
</item> </item>
</layout> </layout>
</item> </item>
<item row="9" column="0"> <item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QLabel" name="textLabel3">
<property name="text">
<string>&lt;b&gt;Output Levels&lt;/b&gt;</string>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
</widget>
</item>
<item>
<widget class="KisGradientSlider" name="outgradient" native="true">
<property name="minimumSize">
<size>
<width>256</width>
<height>24</height>
</size>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout"> <layout class="QHBoxLayout">
<item> <item>
<widget class="QSpinBox" name="outblackspin"> <widget class="QSpinBox" name="outblackspin">
...@@ -257,7 +268,7 @@ ...@@ -257,7 +268,7 @@
</item> </item>
</layout> </layout>
</item> </item>
<item row="11" column="0"> <item>
<layout class="QHBoxLayout" name="horizontalLayout_6"> <layout class="QHBoxLayout" name="horizontalLayout_6">
<item> <item>
<widget class="QPushButton" name="butauto"> <widget class="QPushButton" name="butauto">
...@@ -281,15 +292,18 @@ ...@@ -281,15 +292,18 @@
</item> </item>
</layout> </layout>
</item> </item>
<item row="8" column="0"> <item>
<widget class="KisGradientSlider" name="outgradient" native="true"> <spacer name="verticalSpacer_2">
<property name="minimumSize"> <property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size> <size>
<width>256</width> <width>20</width>
<height>24</height> <height>0</height>
</size> </size>
</property> </property>
</widget> </spacer>
</item> </item>
</layout> </layout>
</widget> </widget>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment