Skip to content

Commit 177516b

Browse files
author
timlinux
committedAug 6, 2008
Some fixes for the projection selector:
- make the projection proj text area consume less space - make epsg checked by default in find box - enable enter key when entering text in the find box - improve layout to maximise space for proj list git-svn-id: http://svn.osgeo.org/qgis/trunk@9009 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 3944236 commit 177516b

File tree

1 file changed

+37
-21
lines changed

1 file changed

+37
-21
lines changed
 

‎src/ui/qgsprojectionselectorbase.ui

Lines changed: 37 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
<rect>
66
<x>0</x>
77
<y>0</y>
8-
<width>457</width>
9-
<height>403</height>
8+
<width>466</width>
9+
<height>416</height>
1010
</rect>
1111
</property>
1212
<property name="sizePolicy" >
@@ -34,6 +34,9 @@
3434
<property name="bottomMargin" >
3535
<number>3</number>
3636
</property>
37+
<property name="verticalSpacing" >
38+
<number>3</number>
39+
</property>
3740
<item row="0" column="0" >
3841
<widget class="QTreeWidget" name="lstCoordinateSystems" >
3942
<property name="alternatingRowColors" >
@@ -65,21 +68,27 @@
6568
<item row="1" column="0" >
6669
<widget class="QTextEdit" name="teProjection" >
6770
<property name="sizePolicy" >
68-
<sizepolicy vsizetype="Expanding" hsizetype="Expanding" >
71+
<sizepolicy vsizetype="Minimum" hsizetype="Expanding" >
6972
<horstretch>0</horstretch>
7073
<verstretch>0</verstretch>
7174
</sizepolicy>
7275
</property>
7376
<property name="minimumSize" >
7477
<size>
7578
<width>0</width>
76-
<height>100</height>
79+
<height>30</height>
7780
</size>
7881
</property>
7982
<property name="maximumSize" >
8083
<size>
8184
<width>16777215</width>
82-
<height>100</height>
85+
<height>50</height>
86+
</size>
87+
</property>
88+
<property name="baseSize" >
89+
<size>
90+
<width>0</width>
91+
<height>50</height>
8392
</size>
8493
</property>
8594
<property name="autoFormatting" >
@@ -113,6 +122,9 @@
113122
<height>10</height>
114123
</size>
115124
</property>
125+
<property name="checked" >
126+
<bool>true</bool>
127+
</property>
116128
</widget>
117129
</item>
118130
<item row="0" column="1" >
@@ -128,23 +140,10 @@
128140
</property>
129141
</widget>
130142
</item>
131-
<item row="0" column="2" colspan="2" >
132-
<spacer>
133-
<property name="orientation" >
134-
<enum>Qt::Horizontal</enum>
135-
</property>
136-
<property name="sizeHint" >
137-
<size>
138-
<width>231</width>
139-
<height>20</height>
140-
</size>
141-
</property>
142-
</spacer>
143-
</item>
144-
<item row="1" column="0" colspan="3" >
143+
<item row="0" column="2" >
145144
<widget class="QLineEdit" name="leSearch" />
146145
</item>
147-
<item row="1" column="3" >
146+
<item row="0" column="3" >
148147
<widget class="QPushButton" name="pbnFind" >
149148
<property name="maximumSize" >
150149
<size>
@@ -167,5 +166,22 @@
167166
</widget>
168167
<layoutdefault spacing="6" margin="11" />
169168
<resources/>
170-
<connections/>
169+
<connections>
170+
<connection>
171+
<sender>leSearch</sender>
172+
<signal>editingFinished()</signal>
173+
<receiver>pbnFind</receiver>
174+
<slot>click()</slot>
175+
<hints>
176+
<hint type="sourcelabel" >
177+
<x>292</x>
178+
<y>380</y>
179+
</hint>
180+
<hint type="destinationlabel" >
181+
<x>375</x>
182+
<y>373</y>
183+
</hint>
184+
</hints>
185+
</connection>
186+
</connections>
171187
</ui>

0 commit comments

Comments
 (0)
Please sign in to comment.