[QGIS Commit] r9009 - trunk/qgis/src/ui
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Wed Aug 6 15:37:50 EDT 2008
Author: timlinux
Date: 2008-08-06 15:37:50 -0400 (Wed, 06 Aug 2008)
New Revision: 9009
Modified:
trunk/qgis/src/ui/qgsprojectionselectorbase.ui
Log:
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
Modified: trunk/qgis/src/ui/qgsprojectionselectorbase.ui
===================================================================
--- trunk/qgis/src/ui/qgsprojectionselectorbase.ui 2008-08-06 14:21:09 UTC (rev 9008)
+++ trunk/qgis/src/ui/qgsprojectionselectorbase.ui 2008-08-06 19:37:50 UTC (rev 9009)
@@ -5,8 +5,8 @@
<rect>
<x>0</x>
<y>0</y>
- <width>457</width>
- <height>403</height>
+ <width>466</width>
+ <height>416</height>
</rect>
</property>
<property name="sizePolicy" >
@@ -34,6 +34,9 @@
<property name="bottomMargin" >
<number>3</number>
</property>
+ <property name="verticalSpacing" >
+ <number>3</number>
+ </property>
<item row="0" column="0" >
<widget class="QTreeWidget" name="lstCoordinateSystems" >
<property name="alternatingRowColors" >
@@ -65,7 +68,7 @@
<item row="1" column="0" >
<widget class="QTextEdit" name="teProjection" >
<property name="sizePolicy" >
- <sizepolicy vsizetype="Expanding" hsizetype="Expanding" >
+ <sizepolicy vsizetype="Minimum" hsizetype="Expanding" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@@ -73,15 +76,21 @@
<property name="minimumSize" >
<size>
<width>0</width>
- <height>100</height>
+ <height>30</height>
</size>
</property>
<property name="maximumSize" >
<size>
<width>16777215</width>
- <height>100</height>
+ <height>50</height>
</size>
</property>
+ <property name="baseSize" >
+ <size>
+ <width>0</width>
+ <height>50</height>
+ </size>
+ </property>
<property name="autoFormatting" >
<set>QTextEdit::AutoBulletList</set>
</property>
@@ -113,6 +122,9 @@
<height>10</height>
</size>
</property>
+ <property name="checked" >
+ <bool>true</bool>
+ </property>
</widget>
</item>
<item row="0" column="1" >
@@ -128,23 +140,10 @@
</property>
</widget>
</item>
- <item row="0" column="2" colspan="2" >
- <spacer>
- <property name="orientation" >
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" >
- <size>
- <width>231</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- <item row="1" column="0" colspan="3" >
+ <item row="0" column="2" >
<widget class="QLineEdit" name="leSearch" />
</item>
- <item row="1" column="3" >
+ <item row="0" column="3" >
<widget class="QPushButton" name="pbnFind" >
<property name="maximumSize" >
<size>
@@ -167,5 +166,22 @@
</widget>
<layoutdefault spacing="6" margin="11" />
<resources/>
- <connections/>
+ <connections>
+ <connection>
+ <sender>leSearch</sender>
+ <signal>editingFinished()</signal>
+ <receiver>pbnFind</receiver>
+ <slot>click()</slot>
+ <hints>
+ <hint type="sourcelabel" >
+ <x>292</x>
+ <y>380</y>
+ </hint>
+ <hint type="destinationlabel" >
+ <x>375</x>
+ <y>373</y>
+ </hint>
+ </hints>
+ </connection>
+ </connections>
</ui>
More information about the QGIS-commit
mailing list