Skip to content

Commit 2cbf139

Browse files
committed
[ui] save vertical space for the delimited text add layer dialog
(fixes #17972)
1 parent dd7c168 commit 2cbf139

File tree

1 file changed

+56
-91
lines changed

1 file changed

+56
-91
lines changed

src/ui/qgsdelimitedtextsourceselectbase.ui

+56-91
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@
200200
</sizepolicy>
201201
</property>
202202
<property name="title">
203-
<string>File Format</string>
203+
<string>File format</string>
204204
</property>
205205
<property name="collapsed" stdset="0">
206206
<bool>false</bool>
@@ -682,13 +682,13 @@
682682
</sizepolicy>
683683
</property>
684684
<property name="title">
685-
<string>Record options</string>
685+
<string>Record and fields options</string>
686686
</property>
687687
<property name="collapsed" stdset="0">
688688
<bool>true</bool>
689689
</property>
690-
<layout class="QVBoxLayout" name="verticalLayout_9">
691-
<item>
690+
<layout class="QGridLayout" name="gridLayout_7">
691+
<item row="0" column="0">
692692
<layout class="QHBoxLayout" name="horizontalLayout_4">
693693
<property name="rightMargin">
694694
<number>9</number>
@@ -740,22 +740,9 @@
740740
</property>
741741
</widget>
742742
</item>
743-
<item>
744-
<spacer name="horizontalSpacer">
745-
<property name="orientation">
746-
<enum>Qt::Horizontal</enum>
747-
</property>
748-
<property name="sizeHint" stdset="0">
749-
<size>
750-
<width>40</width>
751-
<height>20</height>
752-
</size>
753-
</property>
754-
</spacer>
755-
</item>
756743
</layout>
757744
</item>
758-
<item>
745+
<item row="1" column="0">
759746
<widget class="QCheckBox" name="cbxUseHeader">
760747
<property name="toolTip">
761748
<string>Field names are read from the first record. If not selected then fields are numbered</string>
@@ -774,78 +761,56 @@
774761
</property>
775762
</widget>
776763
</item>
777-
</layout>
778-
</widget>
779-
</item>
780-
<item>
781-
<widget class="QgsCollapsibleGroupBox" name="fieldOptionsGroupBox">
782-
<property name="sizePolicy">
783-
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
784-
<horstretch>0</horstretch>
785-
<verstretch>0</verstretch>
786-
</sizepolicy>
787-
</property>
788-
<property name="title">
789-
<string>Field options</string>
790-
</property>
791-
<property name="collapsed" stdset="0">
792-
<bool>true</bool>
793-
</property>
794-
<layout class="QVBoxLayout" name="verticalLayout_13">
795-
<item>
796-
<layout class="QGridLayout" name="gridLayout_4">
797-
<item row="1" column="0">
798-
<widget class="QCheckBox" name="cbxTrimFields">
799-
<property name="toolTip">
800-
<string>Trim leading and trailing spaces from fields</string>
801-
</property>
802-
<property name="statusTip">
803-
<string>Trim leading and trailing spaces from fields</string>
804-
</property>
805-
<property name="whatsThis">
806-
<string>Trim leading and trailing spaces from fields</string>
807-
</property>
808-
<property name="text">
809-
<string>Trim fields</string>
810-
</property>
811-
</widget>
812-
</item>
813-
<item row="0" column="0">
814-
<widget class="QCheckBox" name="cbxPointIsComma">
815-
<property name="enabled">
816-
<bool>true</bool>
817-
</property>
818-
<property name="toolTip">
819-
<string>Number fields use comma for a decimal separator</string>
820-
</property>
821-
<property name="statusTip">
822-
<string>Number fields use comma for a decimal separator</string>
823-
</property>
824-
<property name="whatsThis">
825-
<string>Number fields use comma for a decimal separator</string>
826-
</property>
827-
<property name="text">
828-
<string>Decimal separator is comma</string>
829-
</property>
830-
</widget>
831-
</item>
832-
<item row="2" column="0">
833-
<widget class="QCheckBox" name="cbxSkipEmptyFields">
834-
<property name="toolTip">
835-
<string>Discard empty fields in each record</string>
836-
</property>
837-
<property name="statusTip">
838-
<string>Discard empty fields in each record</string>
839-
</property>
840-
<property name="whatsThis">
841-
<string>Discard empty fields in each record</string>
842-
</property>
843-
<property name="text">
844-
<string>Discard empty fields</string>
845-
</property>
846-
</widget>
847-
</item>
848-
</layout>
764+
<item row="1" column="1">
765+
<widget class="QCheckBox" name="cbxTrimFields">
766+
<property name="toolTip">
767+
<string>Trim leading and trailing spaces from fields</string>
768+
</property>
769+
<property name="statusTip">
770+
<string>Trim leading and trailing spaces from fields</string>
771+
</property>
772+
<property name="whatsThis">
773+
<string>Trim leading and trailing spaces from fields</string>
774+
</property>
775+
<property name="text">
776+
<string>Trim fields</string>
777+
</property>
778+
</widget>
779+
</item>
780+
<item row="0" column="1">
781+
<widget class="QCheckBox" name="cbxPointIsComma">
782+
<property name="enabled">
783+
<bool>true</bool>
784+
</property>
785+
<property name="toolTip">
786+
<string>Number fields use comma for a decimal separator</string>
787+
</property>
788+
<property name="statusTip">
789+
<string>Number fields use comma for a decimal separator</string>
790+
</property>
791+
<property name="whatsThis">
792+
<string>Number fields use comma for a decimal separator</string>
793+
</property>
794+
<property name="text">
795+
<string>Decimal separator is comma</string>
796+
</property>
797+
</widget>
798+
</item>
799+
<item row="2" column="1">
800+
<widget class="QCheckBox" name="cbxSkipEmptyFields">
801+
<property name="toolTip">
802+
<string>Discard empty fields in each record</string>
803+
</property>
804+
<property name="statusTip">
805+
<string>Discard empty fields in each record</string>
806+
</property>
807+
<property name="whatsThis">
808+
<string>Discard empty fields in each record</string>
809+
</property>
810+
<property name="text">
811+
<string>Discard empty fields</string>
812+
</property>
813+
</widget>
849814
</item>
850815
</layout>
851816
</widget>
@@ -1217,7 +1182,7 @@
12171182
</property>
12181183
</widget>
12191184
</item>
1220-
<item row="1" column="0">
1185+
<item row="0" column="2">
12211186
<widget class="QCheckBox" name="cbxWatchFile">
12221187
<property name="toolTip">
12231188
<string>Watch for changes to the file by other applications while QGIS is running</string>

0 commit comments

Comments
 (0)