Skip to content

Commit fbd11ca

Browse files
committedNov 4, 2017
[Geometry Checker] Use a more readable format list
and save file format in settings
1 parent 33d422b commit fbd11ca

File tree

1 file changed

+59
-25
lines changed

1 file changed

+59
-25
lines changed
 

‎src/plugins/geometry_checker/qgsgeometrycheckersetuptab.ui

Lines changed: 59 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@
4141
<property name="geometry">
4242
<rect>
4343
<x>0</x>
44-
<y>-265</y>
45-
<width>626</width>
46-
<height>1016</height>
44+
<y>0</y>
45+
<width>656</width>
46+
<height>960</height>
4747
</rect>
4848
</property>
4949
<layout class="QGridLayout" name="gridLayout_4">
@@ -110,11 +110,11 @@
110110
</widget>
111111
</item>
112112
<item>
113-
<widget class="QGroupBox" name="groupBoxGeometryTypes">
114-
<property name="title">
113+
<widget class="QgsCollapsibleGroupBox" name="groupBoxGeometryTypes" native="true">
114+
<property name="title" stdset="0">
115115
<string>Allowed geometry types</string>
116116
</property>
117-
<property name="flat">
117+
<property name="flat" stdset="0">
118118
<bool>true</bool>
119119
</property>
120120
<layout class="QGridLayout" name="gridLayout">
@@ -179,11 +179,11 @@
179179
</widget>
180180
</item>
181181
<item>
182-
<widget class="QGroupBox" name="groupBox_2">
183-
<property name="title">
182+
<widget class="QgsCollapsibleGroupBox" name="groupBox_2" native="true">
183+
<property name="title" stdset="0">
184184
<string>Geometry validity</string>
185185
</property>
186-
<property name="flat">
186+
<property name="flat" stdset="0">
187187
<bool>true</bool>
188188
</property>
189189
<layout class="QGridLayout" name="gridLayout_8">
@@ -243,11 +243,11 @@
243243
</widget>
244244
</item>
245245
<item>
246-
<widget class="QGroupBox" name="groupBoxGeometryProperties">
247-
<property name="title">
246+
<widget class="QgsCollapsibleGroupBox" name="groupBoxGeometryProperties" native="true">
247+
<property name="title" stdset="0">
248248
<string>Geometry properties</string>
249249
</property>
250-
<property name="flat">
250+
<property name="flat" stdset="0">
251251
<bool>true</bool>
252252
</property>
253253
<layout class="QVBoxLayout" name="verticalLayout_2">
@@ -291,11 +291,11 @@
291291
</widget>
292292
</item>
293293
<item>
294-
<widget class="QGroupBox" name="groupBoxGeometryConditions">
295-
<property name="title">
294+
<widget class="QgsCollapsibleGroupBox" name="groupBoxGeometryConditions" native="true">
295+
<property name="title" stdset="0">
296296
<string>Geometry conditions</string>
297297
</property>
298-
<property name="flat">
298+
<property name="flat" stdset="0">
299299
<bool>true</bool>
300300
</property>
301301
<layout class="QGridLayout" name="gridLayout_2">
@@ -462,11 +462,11 @@
462462
</widget>
463463
</item>
464464
<item>
465-
<widget class="QGroupBox" name="groupBoxTopology">
466-
<property name="title">
465+
<widget class="QgsCollapsibleGroupBox" name="groupBoxTopology" native="true">
466+
<property name="title" stdset="0">
467467
<string>Topology checks</string>
468468
</property>
469-
<property name="flat">
469+
<property name="flat" stdset="0">
470470
<bool>true</bool>
471471
</property>
472472
<layout class="QGridLayout" name="gridLayout_3">
@@ -519,7 +519,7 @@
519519
<item row="3" column="0">
520520
<widget class="QCheckBox" name="checkBoxGaps">
521521
<property name="sizePolicy">
522-
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
522+
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
523523
<horstretch>0</horstretch>
524524
<verstretch>0</verstretch>
525525
</sizepolicy>
@@ -563,7 +563,7 @@
563563
<item row="2" column="0">
564564
<widget class="QCheckBox" name="checkBoxOverlaps">
565565
<property name="sizePolicy">
566-
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
566+
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
567567
<horstretch>0</horstretch>
568568
<verstretch>0</verstretch>
569569
</sizepolicy>
@@ -731,14 +731,14 @@
731731
<item row="0" column="0">
732732
<widget class="QLabel" name="labelOutputFormat">
733733
<property name="text">
734-
<string>Format:</string>
734+
<string>Format</string>
735735
</property>
736736
</widget>
737737
</item>
738738
<item row="1" column="0">
739739
<widget class="QLabel" name="labelOutputDirectory">
740740
<property name="text">
741-
<string>Output directory:</string>
741+
<string>Output directory</string>
742742
</property>
743743
</widget>
744744
</item>
@@ -762,7 +762,7 @@
762762
<item row="2" column="0">
763763
<widget class="QLabel" name="labelFilenamePrefix">
764764
<property name="text">
765-
<string>Filename prefix:</string>
765+
<string>Filename prefix</string>
766766
</property>
767767
</widget>
768768
</item>
@@ -834,6 +834,19 @@
834834
</layout>
835835
</widget>
836836
</item>
837+
<item row="2" column="0">
838+
<spacer name="verticalSpacer">
839+
<property name="orientation">
840+
<enum>Qt::Vertical</enum>
841+
</property>
842+
<property name="sizeHint" stdset="0">
843+
<size>
844+
<width>20</width>
845+
<height>0</height>
846+
</size>
847+
</property>
848+
</spacer>
849+
</item>
837850
</layout>
838851
</widget>
839852
</widget>
@@ -847,20 +860,30 @@
847860
<header>qgsvscrollarea.h</header>
848861
<container>1</container>
849862
</customwidget>
863+
<customwidget>
864+
<class>QgsCollapsibleGroupBox</class>
865+
<extends>QWidget</extends>
866+
<header>qgscollapsiblegroupbox.h</header>
867+
<container>1</container>
868+
</customwidget>
850869
</customwidgets>
851870
<tabstops>
852871
<tabstop>scrollArea</tabstop>
872+
<tabstop>listWidgetInputLayers</tabstop>
853873
<tabstop>checkBoxInputSelectedOnly</tabstop>
854-
<tabstop>checkBoxSelfIntersections</tabstop>
855-
<tabstop>checkBoxDuplicateNodes</tabstop>
856874
<tabstop>checkBoxPoint</tabstop>
857875
<tabstop>checkBoxMultipoint</tabstop>
858876
<tabstop>checkBoxLine</tabstop>
859877
<tabstop>checkBoxMultiline</tabstop>
860878
<tabstop>checkBoxPolygon</tabstop>
861879
<tabstop>checkBoxMultipolygon</tabstop>
880+
<tabstop>checkBoxSelfIntersections</tabstop>
881+
<tabstop>checkBoxDuplicateNodes</tabstop>
882+
<tabstop>checkBoxSelfContacts</tabstop>
883+
<tabstop>checkBoxDegeneratePolygon</tabstop>
862884
<tabstop>checkBoxNoHoles</tabstop>
863885
<tabstop>checkBoxMultipart</tabstop>
886+
<tabstop>checkBoxDangle</tabstop>
864887
<tabstop>checkBoxSegmentLength</tabstop>
865888
<tabstop>doubleSpinBoxSegmentLength</tabstop>
866889
<tabstop>checkBoxAngle</tabstop>
@@ -877,9 +900,20 @@
877900
<tabstop>doubleSpinBoxOverlapArea</tabstop>
878901
<tabstop>checkBoxGaps</tabstop>
879902
<tabstop>doubleSpinBoxGapArea</tabstop>
903+
<tabstop>checkPointCoveredByLine</tabstop>
904+
<tabstop>checkPointInPolygon</tabstop>
905+
<tabstop>checkLineIntersection</tabstop>
906+
<tabstop>checkLineLayerIntersection</tabstop>
907+
<tabstop>comboLineLayerIntersection</tabstop>
908+
<tabstop>checkBoxFollowBoundaries</tabstop>
909+
<tabstop>comboBoxFollowBoundaries</tabstop>
880910
<tabstop>spinBoxTolerance</tabstop>
881911
<tabstop>radioButtonOutputModifyInput</tabstop>
882912
<tabstop>radioButtonOutputNew</tabstop>
913+
<tabstop>comboBoxOutputFormat</tabstop>
914+
<tabstop>lineEditOutputDirectory</tabstop>
915+
<tabstop>pushButtonOutputDirectory</tabstop>
916+
<tabstop>lineEditFilenamePrefix</tabstop>
883917
</tabstops>
884918
<resources>
885919
<include location="pluginres.qrc"/>

0 commit comments

Comments
 (0)
Please sign in to comment.