[kde-doc-english] [kstars] kstars/dialogs: Change the order of latitude and longitude in the Location dialog.
Akarsh Simha
akarsh.simha at kdemail.net
Thu Dec 18 07:09:20 UTC 2014
Git commit 565db243779d38d734d44c315c2e964be179375d by Akarsh Simha.
Committed on 18/12/2014 at 06:54.
Pushed by asimha into branch 'master'.
Change the order of latitude and longitude in the Location dialog.
Conventionally, one thinks of the latitude coordinate before the
longitude coordinate. Hence, it is quite natural to put latitude
before longitude in the dialog.
Also, I'm changing the tab order to cycle through the other fields as
follows:
City -> Province -> Country -> Latitude -> Longitude -> UT offset -> DST
-> Clear Fields -> Add City -> Update DB -> Remove City.
This seems more intuitive to me, since one would like to fill out the
particulars of the city before entering the coordinates. The previous
order was City -> Longitude -> UT offset -> ... which did not group
the fields quite naturally.
CCBUG: 341965
CCMAIL: mutlaqja at ikarustech.com
GUI:
M +16 -14 kstars/dialogs/locationdialog.ui
http://commits.kde.org/kstars/565db243779d38d734d44c315c2e964be179375d
diff --git a/kstars/dialogs/locationdialog.ui b/kstars/dialogs/locationdialog.ui
index 366f8cd..b374ad8 100644
--- a/kstars/dialogs/locationdialog.ui
+++ b/kstars/dialogs/locationdialog.ui
@@ -323,14 +323,14 @@
<property name="spacing">
<number>6</number>
</property>
- <item row="0" column="0">
+ <item row="1" column="0">
<widget class="QLabel" name="LongLabel">
<property name="text">
<string>Longitude:</string>
</property>
</widget>
</item>
- <item row="0" column="1">
+ <item row="1" column="1">
<widget class="dmsBox" name="NewLong">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
@@ -346,7 +346,14 @@
</property>
</widget>
</item>
- <item row="1" column="1">
+ <item row="0" column="0">
+ <widget class="QLabel" name="LatLabel">
+ <property name="text">
+ <string>Latitude:</string>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="1">
<widget class="dmsBox" name="NewLat">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
@@ -362,13 +369,6 @@
</property>
</widget>
</item>
- <item row="1" column="0">
- <widget class="QLabel" name="LatLabel">
- <property name="text">
- <string>Latitude:</string>
- </property>
- </widget>
- </item>
</layout>
</item>
<item>
@@ -648,14 +648,16 @@
<tabstop>CountryFilter</tabstop>
<tabstop>GeoBox</tabstop>
<tabstop>NewCityName</tabstop>
- <tabstop>NewLong</tabstop>
- <tabstop>TZBox</tabstop>
<tabstop>NewProvinceName</tabstop>
+ <tabstop>NewCountryName</tabstop>
<tabstop>NewLat</tabstop>
+ <tabstop>NewLong</tabstop>
+ <tabstop>TZBox</tabstop>
<tabstop>DSTRuleBox</tabstop>
- <tabstop>NewCountryName</tabstop>
- <tabstop>ClearFieldsButton</tabstop>
<tabstop>AddCityButton</tabstop>
+ <tabstop>UpdateButton</tabstop>
+ <tabstop>RemoveButton</tabstop>
+ <tabstop>ClearFieldsButton</tabstop>
</tabstops>
<resources/>
<connections/>
More information about the kde-doc-english
mailing list