115 changes: 104 additions & 11 deletions src/ui/qgsrulebasedrendererv2widget.ui
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>622</width>
<height>273</height>
<width>640</width>
<height>401</height>
</rect>
</property>
<property name="windowTitle">
Expand All @@ -16,6 +16,9 @@
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QgsRendererRulesTreeWidget" name="treeRules">
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="rootIsDecorated">
<bool>false</bool>
</property>
Expand Down Expand Up @@ -51,6 +54,17 @@
<set>AlignHCenter|AlignVCenter|AlignCenter</set>
</property>
</column>
<column>
<property name="text">
<string>Priority</string>
</property>
<property name="toolTip">
<string>Priority when symbol levels are enabled (only first matching rule will be applied)</string>
</property>
<property name="textAlignment">
<set>AlignHCenter|AlignVCenter|AlignCenter</set>
</property>
</column>
</widget>
</item>
<item row="0" column="1">
Expand All @@ -62,6 +76,20 @@
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="btnEditRule">
<property name="text">
<string>Edit</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="btnRemoveRule">
<property name="text">
<string>Remove</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="btnRefineRule">
<property name="text">
Expand All @@ -70,31 +98,96 @@
</widget>
</item>
<item>
<widget class="QPushButton" name="btnEditRule">
<widget class="QPushButton" name="btnIncreasePriority">
<property name="text">
<string>Edit</string>
<string>Increase priority</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="btnRemoveRule">
<widget class="QPushButton" name="btnDecreasePriority">
<property name="text">
<string>Remove</string>
<string>Decrease priority</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="1" column="0" colspan="2">
<item row="3" column="0" colspan="2">
<widget class="QGroupBox" name="groupBox_2">
<property name="minimumSize">
<size>
<width>0</width>
<height>35</height>
</size>
</property>
<property name="baseSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="title">
<string/>
</property>
<widget class="QCheckBox" name="chkEnableSymbolLevels">
<property name="geometry">
<rect>
<x>113</x>
<y>10</y>
<width>231</width>
<height>24</height>
</rect>
</property>
<property name="text">
<string>Enable symbol levels</string>
</property>
</widget>
<widget class="QCheckBox" name="chkUsingFirstRule">
<property name="geometry">
<rect>
<x>360</x>
<y>10</y>
<width>271</width>
<height>24</height>
</rect>
</property>
<property name="text">
<string>Use only first matched rule</string>
</property>
</widget>
<widget class="QLabel" name="label_2">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>84</width>
<height>24</height>
</rect>
</property>
<property name="text">
<string>Behavior</string>
</property>
</widget>
</widget>
</item>
<item row="2" column="0" colspan="2">
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>Rule grouping</string>
<string notr="true"/>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QLabel" name="label">
<property name="text">
<string>Rule grouping</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="radNoGrouping">
<property name="text">
<string>No grouping</string>
<string comment="No grouping for displaying rules">None</string>
</property>
<property name="checked">
<bool>true</bool>
Expand All @@ -104,14 +197,14 @@
<item>
<widget class="QRadioButton" name="radGroupFilter">
<property name="text">
<string>Group by filter</string>
<string comment="Group rules by filter">By filter</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="radGroupScale">
<property name="text">
<string>Group by scale</string>
<string comment="Group rules by scale">By scale</string>
</property>
</widget>
</item>
Expand Down