aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Stefan Fuchs <sfuchs@gmx.de>2017-10-07 19:53:10 +0200
committerGravatar Lubomir I. Ivanov <neolit123@gmail.com>2017-10-07 21:53:28 +0300
commit2d47fd1feda3f4da31ef5517eff0dd63d7105bb1 (patch)
tree1253b2e97cebfbb2fad892eace27013a5bebceba
parent2b8dda1182376360d56cae30ca99c47f00828ff2 (diff)
downloadsubsurface-2d47fd1feda3f4da31ef5517eff0dd63d7105bb1.tar.gz
Tab order for location information dialog
Fixed the tab order and excluded "notes" and "dive sites with same coordinates" from accessability via tab key. Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
-rw-r--r--desktop-widgets/locationInformation.ui18
1 files changed, 17 insertions, 1 deletions
diff --git a/desktop-widgets/locationInformation.ui b/desktop-widgets/locationInformation.ui
index c0145ca2d..c15c713fd 100644
--- a/desktop-widgets/locationInformation.ui
+++ b/desktop-widgets/locationInformation.ui
@@ -55,7 +55,11 @@
</widget>
</item>
<item row="7" column="2" rowspan="2" colspan="2">
- <widget class="QPlainTextEdit" name="diveSiteNotes"/>
+ <widget class="QPlainTextEdit" name="diveSiteNotes">
+ <property name="focusPolicy">
+ <enum>Qt::ClickFocus</enum>
+ </property>
+ </widget>
</item>
<item row="1" column="2" colspan="2">
<widget class="QLineEdit" name="diveSiteName"/>
@@ -101,6 +105,9 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
+ <property name="focusPolicy">
+ <enum>Qt::ClickFocus</enum>
+ </property>
<property name="selectionMode">
<enum>QAbstractItemView::MultiSelection</enum>
</property>
@@ -159,6 +166,15 @@
<container>1</container>
</customwidget>
</customwidgets>
+ <tabstops>
+ <tabstop>diveSiteName</tabstop>
+ <tabstop>diveSiteCountry</tabstop>
+ <tabstop>diveSiteCoordinates</tabstop>
+ <tabstop>geoCodeButton</tabstop>
+ <tabstop>diveSiteDescription</tabstop>
+ <tabstop>diveSiteNotes</tabstop>
+ <tabstop>diveSiteListView</tabstop>
+ </tabstops>
<resources>
<include location="../subsurface.qrc"/>
</resources>