Skip to content

Commit 9f1f070

Browse files
committedDec 17, 2011
minor UI fix in New SpatiaLite Layer dialog
1 parent 42e02d8 commit 9f1f070

File tree

1 file changed

+22
-40
lines changed

1 file changed

+22
-40
lines changed
 

‎src/ui/qgsnewspatialitelayerdialogbase.ui

Lines changed: 22 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
<rect>
77
<x>0</x>
88
<y>0</y>
9-
<width>477</width>
10-
<height>596</height>
9+
<width>430</width>
10+
<height>627</height>
1111
</rect>
1212
</property>
1313
<property name="sizePolicy">
@@ -191,16 +191,6 @@
191191
</item>
192192
<item row="4" column="0">
193193
<layout class="QHBoxLayout" name="horizontalLayout_3">
194-
<item>
195-
<widget class="QLabel" name="label_3">
196-
<property name="text">
197-
<string>EPSG SRID</string>
198-
</property>
199-
<property name="buddy">
200-
<cstring>leSRID</cstring>
201-
</property>
202-
</widget>
203-
</item>
204194
<item>
205195
<widget class="QLineEdit" name="leSRID">
206196
<property name="toolTip">
@@ -264,8 +254,14 @@
264254
</property>
265255
</widget>
266256
</item>
267-
<item row="0" column="1">
257+
<item row="0" column="1" colspan="2">
268258
<widget class="QLineEdit" name="mNameEdit">
259+
<property name="sizePolicy">
260+
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
261+
<horstretch>0</horstretch>
262+
<verstretch>0</verstretch>
263+
</sizepolicy>
264+
</property>
269265
<property name="toolTip">
270266
<string>An attribute name</string>
271267
</property>
@@ -287,7 +283,7 @@
287283
</property>
288284
</widget>
289285
</item>
290-
<item row="1" column="1">
286+
<item row="1" column="1" colspan="2">
291287
<widget class="QComboBox" name="mTypeBox">
292288
<property name="sizePolicy">
293289
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
@@ -297,29 +293,7 @@
297293
</property>
298294
</widget>
299295
</item>
300-
</layout>
301-
</widget>
302-
</item>
303-
<item row="7" column="0">
304-
<widget class="QGroupBox" name="groupBox_2">
305-
<property name="title">
306-
<string>Attributes list</string>
307-
</property>
308-
<layout class="QGridLayout" name="gridLayout_3">
309-
<item row="0" column="0" colspan="2">
310-
<spacer name="horizontalSpacer">
311-
<property name="orientation">
312-
<enum>Qt::Horizontal</enum>
313-
</property>
314-
<property name="sizeHint" stdset="0">
315-
<size>
316-
<width>40</width>
317-
<height>20</height>
318-
</size>
319-
</property>
320-
</spacer>
321-
</item>
322-
<item row="0" column="2">
296+
<item row="2" column="2">
323297
<widget class="QToolButton" name="mAddAttributeButton">
324298
<property name="sizePolicy">
325299
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
@@ -345,6 +319,15 @@
345319
</property>
346320
</widget>
347321
</item>
322+
</layout>
323+
</widget>
324+
</item>
325+
<item row="8" column="0">
326+
<widget class="QGroupBox" name="groupBox_2">
327+
<property name="title">
328+
<string>Attributes list</string>
329+
</property>
330+
<layout class="QGridLayout" name="gridLayout_3">
348331
<item row="1" column="0" colspan="3">
349332
<widget class="QTreeWidget" name="mAttributeView">
350333
<property name="sizePolicy">
@@ -399,7 +382,7 @@
399382
<string>Delete selected attribute</string>
400383
</property>
401384
<property name="text">
402-
<string>Remove selected attribute</string>
385+
<string>Remove attribute</string>
403386
</property>
404387
<property name="icon">
405388
<iconset>
@@ -413,7 +396,7 @@
413396
</layout>
414397
</widget>
415398
</item>
416-
<item row="8" column="0">
399+
<item row="9" column="0">
417400
<widget class="QDialogButtonBox" name="buttonBox">
418401
<property name="orientation">
419402
<enum>Qt::Horizontal</enum>
@@ -442,7 +425,6 @@
442425
<tabstop>checkBoxPrimaryKey</tabstop>
443426
<tabstop>mNameEdit</tabstop>
444427
<tabstop>mTypeBox</tabstop>
445-
<tabstop>mAddAttributeButton</tabstop>
446428
<tabstop>mAttributeView</tabstop>
447429
<tabstop>mRemoveAttributeButton</tabstop>
448430
<tabstop>buttonBox</tabstop>

0 commit comments

Comments
 (0)
Please sign in to comment.