Skip to content
Permalink
Browse files

fix for #5760 - make heatmap dialog resizeable and use a layout in ad…

…vanced options
  • Loading branch information
timlinux committed Jun 7, 2012
1 parent 21ce807 commit 209aaa9fc2f10f0b751c5e8784834e430b310f0b
Showing with 110 additions and 124 deletions.
  1. +110 −124 src/plugins/heatmap/heatmapguibase.ui
@@ -10,11 +10,11 @@
<height>380</height>
</rect>
</property>
<property name="maximumSize">
<size>
<width>430</width>
<height>380</height>
</size>
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="windowTitle">
<string>Heatmap Plugin</string>
@@ -132,130 +132,116 @@
<property name="checked">
<bool>false</bool>
</property>
<widget class="QWidget" name="gridLayoutWidget">
<property name="geometry">
<rect>
<x>10</x>
<y>30</y>
<width>391</width>
<height>61</height>
</rect>
</property>
<layout class="QGridLayout" name="advancedGrid">
<property name="sizeConstraint">
<enum>QLayout::SetFixedSize</enum>
</property>
<item row="0" column="0">
<widget class="QLabel" name="rowLabel">
<property name="text">
<string>Row</string>
</property>
<property name="buddy">
<cstring>rowLineEdit</cstring>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="cellsizeXLabel">
<property name="text">
<string>Cell Size X</string>
</property>
<property name="buddy">
<cstring>cellXLineEdit</cstring>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QLabel" name="columnLabel">
<property name="text">
<string>Column</string>
</property>
<property name="buddy">
<cstring>columnLineEdit</cstring>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QLabel" name="cellsizeYLabel">
<property name="text">
<string>Cell Size Y</string>
</property>
<property name="buddy">
<cstring>cellYLineEdit</cstring>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="rowLineEdit"/>
</item>
<item row="0" column="3">
<layout class="QGridLayout" name="gridLayout_3">
<item row="0" column="0">
<layout class="QGridLayout" name="advancedGrid">
<property name="sizeConstraint">
<enum>QLayout::SetFixedSize</enum>
</property>
<item row="0" column="0">
<widget class="QLabel" name="rowLabel">
<property name="text">
<string>Row</string>
</property>
<property name="buddy">
<cstring>rowLineEdit</cstring>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="cellsizeXLabel">
<property name="text">
<string>Cell Size X</string>
</property>
<property name="buddy">
<cstring>cellXLineEdit</cstring>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QLabel" name="columnLabel">
<property name="text">
<string>Column</string>
</property>
<property name="buddy">
<cstring>columnLineEdit</cstring>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QLabel" name="cellsizeYLabel">
<property name="text">
<string>Cell Size Y</string>
</property>
<property name="buddy">
<cstring>cellYLineEdit</cstring>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="rowLineEdit"/>
</item>
<item row="0" column="3">
<widget class="QLineEdit" name="columnLineEdit"/>
</item>
<item row="1" column="1">
<widget class="QLineEdit" name="cellXLineEdit"/>
</item>
<item row="1" column="3">
<widget class="QLineEdit" name="cellYLineEdit"/>
</item>
</layout>
</widget>
<widget class="QWidget" name="gridLayoutWidget_4">
<property name="geometry">
<rect>
<x>10</x>
<y>90</y>
<width>391</width>
<height>61</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="0">
<widget class="QCheckBox" name="useRadius">
<property name="text">
<string>Use Radius from field</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QComboBox" name="radiusFieldCombo">
<property name="enabled">
<bool>false</bool>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QComboBox" name="radiusFieldUnitCombo">
<property name="enabled">
<bool>false</bool>
</property>
<item>
</item>
<item row="1" column="1">
<widget class="QLineEdit" name="cellXLineEdit"/>
</item>
<item row="1" column="3">
<widget class="QLineEdit" name="cellYLineEdit"/>
</item>
</layout>
</item>
<item row="1" column="0">
<layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="0">
<widget class="QCheckBox" name="useRadius">
<property name="text">
<string>meters</string>
<string>Use Radius from field</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QComboBox" name="radiusFieldCombo">
<property name="enabled">
<bool>false</bool>
</property>
</item>
<item>
</widget>
</item>
<item row="0" column="2">
<widget class="QComboBox" name="radiusFieldUnitCombo">
<property name="enabled">
<bool>false</bool>
</property>
<item>
<property name="text">
<string>meters</string>
</property>
</item>
<item>
<property name="text">
<string>map units</string>
</property>
</item>
</widget>
</item>
<item row="1" column="0">
<widget class="QCheckBox" name="useWeight">
<property name="text">
<string>map units</string>
<string>Use Weight from field</string>
</property>
</widget>
</item>
<item row="1" column="1" colspan="2">
<widget class="QComboBox" name="weightFieldCombo">
<property name="enabled">
<bool>false</bool>
</property>
</item>
</widget>
</item>
<item row="1" column="0">
<widget class="QCheckBox" name="useWeight">
<property name="text">
<string>Use Weight from field</string>
</property>
</widget>
</item>
<item row="1" column="1" colspan="2">
<widget class="QComboBox" name="weightFieldCombo">
<property name="enabled">
<bool>false</bool>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</item>
</layout>

0 comments on commit 209aaa9

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