Skip to content

Commit

Permalink
[ui] save vertical space for the delimited text add layer dialog
Browse files Browse the repository at this point in the history
(fixes #17972)
  • Loading branch information
nirvn committed Feb 7, 2018
1 parent dd7c168 commit 2cbf139
Showing 1 changed file with 56 additions and 91 deletions.
147 changes: 56 additions & 91 deletions src/ui/qgsdelimitedtextsourceselectbase.ui
Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand All @@ -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>
Expand Down Expand Up @@ -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>
Expand Down

1 comment on commit 2cbf139

@nirvn
Copy link
Contributor Author

@nirvn nirvn commented on 2cbf139 Feb 8, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Docker is once again needlessly reddening our master branch.

Please sign in to comment.