aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/maintab.ui
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@gmail.com>2015-05-29 21:13:16 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-05-29 20:58:38 -0700
commit88549d18743823878d68de76d707630dd74e1bff (patch)
tree03d596d12c47acb0a7f8ccc5fff2bededef8c554 /qt-ui/maintab.ui
parentabb677349021a6ff214734307b8b0f09083b277a (diff)
downloadsubsurface-88549d18743823878d68de76d707630dd74e1bff.tar.gz
Change the Location from a LineEdit to a ComboBox
And hook up every method that was changed. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/maintab.ui')
-rw-r--r--qt-ui/maintab.ui10
1 files changed, 6 insertions, 4 deletions
diff --git a/qt-ui/maintab.ui b/qt-ui/maintab.ui
index f5d942a79..07c4d9fe0 100644
--- a/qt-ui/maintab.ui
+++ b/qt-ui/maintab.ui
@@ -186,9 +186,12 @@
<number>2</number>
</property>
<item>
- <widget class="QLineEdit" name="location">
- <property name="readOnly">
- <bool>false</bool>
+ <widget class="QComboBox" name="location">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
</property>
</widget>
</item>
@@ -1255,7 +1258,6 @@
<tabstop>timeEdit</tabstop>
<tabstop>airtemp</tabstop>
<tabstop>watertemp</tabstop>
- <tabstop>location</tabstop>
<tabstop>divemaster</tabstop>
<tabstop>buddy</tabstop>
<tabstop>rating</tabstop>