Skip to content
Permalink
Browse files

[styledock] improve UI layout of raster renderers

  • Loading branch information
nirvn committed Jun 28, 2016
1 parent 002ace2 commit c775a52efd573d83b53d717a9d5a80304c263f1e
@@ -314,6 +314,31 @@ Negative rounds to powers of 10</string>
<property name="rightMargin">
<number>0</number>
</property>
<item>
<widget class="QTreeView" name="viewGraduated">
<property name="contextMenuPolicy">
<enum>Qt::CustomContextMenu</enum>
</property>
<property name="showDropIndicator" stdset="0">
<bool>true</bool>
</property>
<property name="dragDropMode">
<enum>QAbstractItemView::InternalMove</enum>
</property>
<property name="selectionMode">
<enum>QAbstractItemView::ExtendedSelection</enum>
</property>
<property name="rootIsDecorated">
<bool>false</bool>
</property>
<property name="itemsExpandable">
<bool>false</bool>
</property>
<property name="sortingEnabled">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_5">
<item>
@@ -355,6 +380,19 @@ Negative rounds to powers of 10</string>
</item>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_4">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QLabel" name="label_5">
<property name="text">
@@ -384,46 +422,8 @@ Negative rounds to powers of 10</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_4">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item>
<widget class="QTreeView" name="viewGraduated">
<property name="contextMenuPolicy">
<enum>Qt::CustomContextMenu</enum>
</property>
<property name="showDropIndicator" stdset="0">
<bool>true</bool>
</property>
<property name="dragDropMode">
<enum>QAbstractItemView::InternalMove</enum>
</property>
<property name="selectionMode">
<enum>QAbstractItemView::ExtendedSelection</enum>
</property>
<property name="rootIsDecorated">
<bool>false</bool>
</property>
<property name="itemsExpandable">
<bool>false</bool>
</property>
<property name="sortingEnabled">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
@@ -34,207 +34,183 @@ enhancement</string>
</property>
</widget>
</item>
<item row="6" column="1" colspan="3">
<item row="6" column="1" colspan="4">
<widget class="QComboBox" name="mContrastEnhancementAlgorithmComboBox"/>
</item>
<item row="1" column="1">
<widget class="QLabel" name="mMinLabel">
<widget class="QLabel" name="mRedMinLabel">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Min/max</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
<property name="text">
<string>Min</string>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QLineEdit" name="mRedMinLineEdit">
<item row="1" column="3">
<widget class="QLabel" name="mRedMaxLabel">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>75</width>
<height>16777215</height>
</size>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
<property name="baseSize">
<size>
<width>0</width>
<height>0</height>
</size>
<property name="text">
<string>Max</string>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QLineEdit" name="mRedMinLineEdit">
<property name="maxLength">
<number>16</number>
</property>
</widget>
</item>
<item row="0" column="1" colspan="3">
<item row="0" column="1" colspan="4">
<widget class="QComboBox" name="mRedBandComboBox"/>
</item>
<item row="5" column="1">
<widget class="QLabel" name="label_2">
<widget class="QLabel" name="mBlueMinLabel">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
<property name="text">
<string>Min/max</string>
<string>Min</string>
</property>
</widget>
</item>
<item row="2" column="1" colspan="3">
<widget class="QComboBox" name="mGreenBandComboBox"/>
</item>
<item row="3" column="1">
<widget class="QLabel" name="label">
<item row="5" column="3">
<widget class="QLabel" name="mBlueMaxLabel">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
<property name="text">
<string>Min/max</string>
<string>Max</string>
</property>
</widget>
</item>
<item row="4" column="1" colspan="3">
<widget class="QComboBox" name="mBlueBandComboBox"/>
<item row="2" column="1" colspan="4">
<widget class="QComboBox" name="mGreenBandComboBox"/>
</item>
<item row="1" column="3">
<widget class="QLineEdit" name="mRedMaxLineEdit">
<item row="3" column="1">
<widget class="QLabel" name="mGreenMinLabel">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>75</width>
<height>16777215</height>
</size>
</property>
<property name="baseSize">
<size>
<width>0</width>
<height>0</height>
</size>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
<property name="maxLength">
<number>16</number>
<property name="text">
<string>Min</string>
</property>
</widget>
</item>
<item row="3" column="2">
<widget class="QLineEdit" name="mGreenMinLineEdit">
<item row="3" column="3">
<widget class="QLabel" name="mGreenMaxLabel">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>75</width>
<height>16777215</height>
</size>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
<property name="baseSize">
<size>
<width>0</width>
<height>0</height>
</size>
<property name="text">
<string>Max</string>
</property>
</widget>
</item>
<item row="4" column="1" colspan="4">
<widget class="QComboBox" name="mBlueBandComboBox"/>
</item>
<item row="1" column="4">
<widget class="QLineEdit" name="mRedMaxLineEdit">
<property name="maxLength">
<number>16</number>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="mBlueBandLabel">
<property name="text">
<string>Blue band</string>
<item row="3" column="4">
<widget class="QLineEdit" name="mGreenMinLineEdit">
<property name="maxLength">
<number>16</number>
</property>
</widget>
</item>
<item row="5" column="2">
<widget class="QLineEdit" name="mBlueMinLineEdit">
<item row="4" column="0">
<widget class="QLabel" name="mBlueBandLabel">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>75</width>
<height>16777215</height>
</size>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
<property name="baseSize">
<size>
<width>0</width>
<height>0</height>
</size>
<property name="text">
<string>Blue band</string>
</property>
</widget>
</item>
<item row="5" column="2">
<widget class="QLineEdit" name="mBlueMinLineEdit">
<property name="maxLength">
<number>16</number>
</property>
</widget>
</item>
<item row="5" column="3">
<item row="5" column="4">
<widget class="QLineEdit" name="mBlueMaxLineEdit">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>75</width>
<height>16777215</height>
</size>
</property>
<property name="baseSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="maxLength">
<number>16</number>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="mGreenBandLabel">
<property name="text">
<string>Green band</string>
</property>
</widget>
</item>
<item row="3" column="3">
<widget class="QLineEdit" name="mGreenMaxLineEdit">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>75</width>
<height>16777215</height>
</size>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
<property name="baseSize">
<size>
<width>0</width>
<height>0</height>
</size>
<property name="text">
<string>Green band</string>
</property>
</widget>
</item>
<item row="3" column="2">
<widget class="QLineEdit" name="mGreenMaxLineEdit">
<property name="maxLength">
<number>16</number>
</property>

0 comments on commit c775a52

Please sign in to comment.
You can’t perform that action at this time.