Skip to content
Permalink
Browse files

[ui] save vertical space for the delimited text add layer dialog

(fixes #17972)
  • Loading branch information
nirvn committed Feb 7, 2018
1 parent dd7c168 commit 2cbf139bcd61ee232d56732bd0c129f64b2d6137
Showing with 56 additions and 91 deletions.
  1. +56 −91 src/ui/qgsdelimitedtextsourceselectbase.ui
@@ -200,7 +200,7 @@
</sizepolicy>
</property>
<property name="title">
<string>File Format</string>
<string>File format</string>
</property>
<property name="collapsed" stdset="0">
<bool>false</bool>
@@ -682,13 +682,13 @@
</sizepolicy>
</property>
<property name="title">
<string>Record options</string>
<string>Record and fields options</string>
</property>
<property name="collapsed" stdset="0">
<bool>true</bool>
</property>
<layout class="QVBoxLayout" name="verticalLayout_9">
<item>
<layout class="QGridLayout" name="gridLayout_7">
<item row="0" column="0">
<layout class="QHBoxLayout" name="horizontalLayout_4">
<property name="rightMargin">
<number>9</number>
@@ -740,22 +740,9 @@
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item>
<item row="1" column="0">
<widget class="QCheckBox" name="cbxUseHeader">
<property name="toolTip">
<string>Field names are read from the first record. If not selected then fields are numbered</string>
@@ -774,78 +761,56 @@
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QgsCollapsibleGroupBox" name="fieldOptionsGroupBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title">
<string>Field options</string>
</property>
<property name="collapsed" stdset="0">
<bool>true</bool>
</property>
<layout class="QVBoxLayout" name="verticalLayout_13">
<item>
<layout class="QGridLayout" name="gridLayout_4">
<item row="1" column="0">
<widget class="QCheckBox" name="cbxTrimFields">
<property name="toolTip">
<string>Trim leading and trailing spaces from fields</string>
</property>
<property name="statusTip">
<string>Trim leading and trailing spaces from fields</string>
</property>
<property name="whatsThis">
<string>Trim leading and trailing spaces from fields</string>
</property>
<property name="text">
<string>Trim fields</string>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QCheckBox" name="cbxPointIsComma">
<property name="enabled">
<bool>true</bool>
</property>
<property name="toolTip">
<string>Number fields use comma for a decimal separator</string>
</property>
<property name="statusTip">
<string>Number fields use comma for a decimal separator</string>
</property>
<property name="whatsThis">
<string>Number fields use comma for a decimal separator</string>
</property>
<property name="text">
<string>Decimal separator is comma</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QCheckBox" name="cbxSkipEmptyFields">
<property name="toolTip">
<string>Discard empty fields in each record</string>
</property>
<property name="statusTip">
<string>Discard empty fields in each record</string>
</property>
<property name="whatsThis">
<string>Discard empty fields in each record</string>
</property>
<property name="text">
<string>Discard empty fields</string>
</property>
</widget>
</item>
</layout>
<item row="1" column="1">
<widget class="QCheckBox" name="cbxTrimFields">
<property name="toolTip">
<string>Trim leading and trailing spaces from fields</string>
</property>
<property name="statusTip">
<string>Trim leading and trailing spaces from fields</string>
</property>
<property name="whatsThis">
<string>Trim leading and trailing spaces from fields</string>
</property>
<property name="text">
<string>Trim fields</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QCheckBox" name="cbxPointIsComma">
<property name="enabled">
<bool>true</bool>
</property>
<property name="toolTip">
<string>Number fields use comma for a decimal separator</string>
</property>
<property name="statusTip">
<string>Number fields use comma for a decimal separator</string>
</property>
<property name="whatsThis">
<string>Number fields use comma for a decimal separator</string>
</property>
<property name="text">
<string>Decimal separator is comma</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QCheckBox" name="cbxSkipEmptyFields">
<property name="toolTip">
<string>Discard empty fields in each record</string>
</property>
<property name="statusTip">
<string>Discard empty fields in each record</string>
</property>
<property name="whatsThis">
<string>Discard empty fields in each record</string>
</property>
<property name="text">
<string>Discard empty fields</string>
</property>
</widget>
</item>
</layout>
</widget>
@@ -1217,7 +1182,7 @@
</property>
</widget>
</item>
<item row="1" column="0">
<item row="0" column="2">
<widget class="QCheckBox" name="cbxWatchFile">
<property name="toolTip">
<string>Watch for changes to the file by other applications while QGIS is running</string>

1 comment on commit 2cbf139

@nirvn

This comment has been minimized.

Copy link
Contributor Author

@nirvn nirvn commented on 2cbf139 Feb 8, 2018

Docker is once again needlessly reddening our master branch.

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