Skip to content

Commit

Permalink
arrange buttons on raster transparency tab horizontally
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Feb 9, 2012
1 parent c3c7abc commit 19a6bab
Showing 1 changed file with 73 additions and 70 deletions.
143 changes: 73 additions & 70 deletions src/ui/qgsrasterlayerpropertiesbase.ui
Expand Up @@ -61,8 +61,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>766</width>
<height>699</height>
<width>441</width>
<height>607</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
Expand Down Expand Up @@ -971,8 +971,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>770</width>
<height>703</height>
<width>553</width>
<height>397</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout_7">
Expand Down Expand Up @@ -1115,14 +1115,14 @@
</property>
</widget>
</item>
<item row="1" column="0" colspan="2">
<item row="2" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Transparent pixel list</string>
</property>
</widget>
</item>
<item row="2" column="0" colspan="2">
<item row="3" column="0" colspan="2">
<widget class="QTableWidget" name="tableTransparency">
<property name="verticalScrollBarPolicy">
<enum>Qt::ScrollBarAsNeeded</enum>
Expand All @@ -1147,11 +1147,24 @@
</property>
</widget>
</item>
<item row="2" column="2">
<layout class="QVBoxLayout">
<item row="2" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_2">
<property name="margin">
<number>11</number>
</property>
<item>
<spacer name="horizontalSpacer_3">
<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="QToolButton" name="pbnAddValuesManually">
<property name="toolTip">
Expand Down Expand Up @@ -1212,43 +1225,43 @@
</widget>
</item>
<item>
<spacer>
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Vertical</enum>
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>181</height>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QToolButton" name="pbnImportTransparentPixelValues">
<widget class="QToolButton" name="pbnExportTransparentPixelValues">
<property name="toolTip">
<string>Import from file</string>
<string>Export to file</string>
</property>
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset>
<normaloff>../../images/themes/default/mActionFolder.png</normaloff>../../images/themes/default/mActionFolder.png</iconset>
<normaloff>../../images/themes/default/mActionFileSave.png</normaloff>../../images/themes/default/mActionFileSave.png</iconset>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="pbnExportTransparentPixelValues">
<widget class="QToolButton" name="pbnImportTransparentPixelValues">
<property name="toolTip">
<string>Export to file</string>
<string>Import from file</string>
</property>
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset>
<normaloff>../../images/themes/default/mActionFileSave.png</normaloff>../../images/themes/default/mActionFileSave.png</iconset>
<normaloff>../../images/themes/default/mActionFolder.png</normaloff>../../images/themes/default/mActionFolder.png</iconset>
</property>
</widget>
</item>
Expand Down Expand Up @@ -1327,16 +1340,6 @@
<string>Color map</string>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="0" colspan="2">
<widget class="QLabel" name="mColorInterpolationLabel">
<property name="text">
<string>Color interpolation</string>
</property>
</widget>
</item>
<item row="0" column="2" colspan="2">
<widget class="QComboBox" name="cboxColorInterpolation"/>
</item>
<item row="0" column="4" colspan="7">
<spacer>
<property name="orientation">
Expand All @@ -1350,6 +1353,45 @@
</property>
</spacer>
</item>
<item row="1" column="5">
<spacer>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>41</width>
<height>27</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="8">
<spacer>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Minimum</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="0" column="0" colspan="2">
<widget class="QLabel" name="mColorInterpolationLabel">
<property name="text">
<string>Color interpolation</string>
</property>
</widget>
</item>
<item row="0" column="2" colspan="2">
<widget class="QComboBox" name="cboxColorInterpolation"/>
</item>
<item row="1" column="0">
<widget class="QPushButton" name="pbtnAddColorMapEntry">
<property name="text">
Expand All @@ -1371,19 +1413,6 @@
</property>
</widget>
</item>
<item row="1" column="5">
<spacer>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>41</width>
<height>27</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="6">
<widget class="QComboBox" name="cboxColorMapBand"/>
</item>
Expand All @@ -1401,22 +1430,6 @@
</property>
</widget>
</item>
<item row="1" column="8">
<spacer>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Minimum</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="9">
<widget class="QToolButton" name="pbtnLoadColorMapFromFile">
<property name="toolTip">
Expand Down Expand Up @@ -1468,17 +1481,6 @@
</widget>
</item>
</layout>
<zorder>mColorInterpolationLabel</zorder>
<zorder>cboxColorInterpolation</zorder>
<zorder>pbtnAddColorMapEntry</zorder>
<zorder>mDeleteEntryButton</zorder>
<zorder>pbtnSortColorMap</zorder>
<zorder>cboxColorMapBand</zorder>
<zorder>pbtnLoadColorMapFromBand</zorder>
<zorder>pbtnLoadColorMapFromFile</zorder>
<zorder>pbtnExportColorMapToFile</zorder>
<zorder>mColormapTreeWidget</zorder>
<zorder>grpGenerateColorMap</zorder>
</widget>
</item>
</layout>
Expand Down Expand Up @@ -1799,8 +1801,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>748</width>
<height>681</height>
<width>97</width>
<height>229</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
Expand Down Expand Up @@ -1881,6 +1883,7 @@ p, li { white-space: pre-wrap; }
&lt;table border=&quot;0&quot; style=&quot;-qt-table-type: root; margin-top:4px; margin-bottom:4px; margin-left:4px; margin-right:4px;&quot;&gt;
&lt;tr&gt;
&lt;td style=&quot;border: none;&quot;&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;&quot;&gt;&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Ubuntu'; font-size:11pt;&quot;&gt;&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Ubuntu'; font-size:9pt;&quot;&gt;&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Ubuntu'; font-size:9pt;&quot;&gt;&lt;/p&gt;
Expand Down

0 comments on commit 19a6bab

Please sign in to comment.