summaryrefslogtreecommitdiffstats
path: root/qt-ui/maintab.ui
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-12-20 11:33:22 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-12-20 09:53:05 -0800
commitf0da41c937b9381e67a57b8103bbf2d4aca7bb39 (patch)
tree9485f8c77b2fc6d3fca50ab7b6542a3091bf4e7d /qt-ui/maintab.ui
parent3e3fff262e90dde3c0db5e13de057f10753089fd (diff)
downloadsubsurface-f0da41c937b9381e67a57b8103bbf2d4aca7bb39.tar.gz
Added Keyboard Navigation for the Star Widget
Keys up and down to increase / decrease stars and also fixed focus policy for it. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/maintab.ui')
-rw-r--r--qt-ui/maintab.ui34
1 files changed, 22 insertions, 12 deletions
diff --git a/qt-ui/maintab.ui b/qt-ui/maintab.ui
index 7dec3aa8f..846fb4f12 100644
--- a/qt-ui/maintab.ui
+++ b/qt-ui/maintab.ui
@@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
- <width>535</width>
- <height>517</height>
+ <width>690</width>
+ <height>720</height>
</rect>
</property>
<property name="currentIndex">
@@ -37,8 +37,8 @@
<rect>
<x>0</x>
<y>0</y>
- <width>493</width>
- <height>586</height>
+ <width>662</width>
+ <height>644</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout_2">
@@ -219,10 +219,18 @@
<item row="10" column="0">
<layout class="QHBoxLayout" name="ratingVisibilityWidgets">
<item>
- <widget class="StarWidget" name="rating" native="true"/>
+ <widget class="StarWidget" name="rating" native="true">
+ <property name="focusPolicy">
+ <enum>Qt::StrongFocus</enum>
+ </property>
+ </widget>
</item>
<item>
- <widget class="StarWidget" name="visibility" native="true"/>
+ <widget class="StarWidget" name="visibility" native="true">
+ <property name="focusPolicy">
+ <enum>Qt::StrongFocus</enum>
+ </property>
+ </widget>
</item>
</layout>
</item>
@@ -281,8 +289,8 @@
<rect>
<x>0</x>
<y>0</y>
- <width>507</width>
- <height>459</height>
+ <width>662</width>
+ <height>644</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout_5">
@@ -361,8 +369,8 @@
<rect>
<x>0</x>
<y>0</y>
- <width>492</width>
- <height>375</height>
+ <width>662</width>
+ <height>644</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout_6">
@@ -671,8 +679,8 @@
<rect>
<x>0</x>
<y>0</y>
- <width>323</width>
- <height>130</height>
+ <width>662</width>
+ <height>644</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout_7">
@@ -846,6 +854,8 @@
<tabstop>coordinates</tabstop>
<tabstop>divemaster</tabstop>
<tabstop>buddy</tabstop>
+ <tabstop>rating</tabstop>
+ <tabstop>visibility</tabstop>
<tabstop>suit</tabstop>
<tabstop>tagWidget</tabstop>
<tabstop>notes</tabstop>