subsurface/qt-ui
Dirk Hohndel c729ae92ed Allow walking the dive list with the cursor keys
Figure out what is our first selected element (in case we start out from a
multiple selection) and then move to the next logical element. So the code
traverses an expanded tree (from a trip 'down' to its first dive or 'up'
to the last dive of the previous trip - and similar from a first dive in a
trip 'up' to its trip and from a last dive in a trip 'down' to the next
trip.

This does not take 'shift-cursor-up/down' into account (i.e. manual
selection extension). Instead with just cursor up and down a single dive
(or single trip) is selected.

My guess is that the code will make someone's eyes bleed. Be warned.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-12 06:58:56 -07:00
..
addcylinderdialog.cpp Added the code that will load and populate the Tank Info 2013-04-15 17:34:44 -07:00
addcylinderdialog.h Added the code that will load and populate the Tank Info 2013-04-15 17:34:44 -07:00
addcylinderdialog.ui Started the real code on the Qt Interface. 2013-04-13 14:08:16 -07:00
addweightsystemdialog.cpp Fix a couple of small problems in add weightsystem 2013-05-01 16:23:20 -07:00
addweightsystemdialog.h Create Add Weightsystem dialog 2013-05-01 16:02:34 -07:00
addweightsystemdialog.ui Create Add Weightsystem dialog 2013-05-01 16:02:34 -07:00
divelistview.cpp Test the CSS for styling the TableView 2013-05-02 16:56:13 -07:00
divelistview.h Add Qtr_ macros that uses gettext in a tr() compatible manner 2013-04-13 20:44:02 -07:00
maintab.cpp Horizontally align labels on info widget page. 2013-05-09 12:10:34 -07:00
maintab.h Added the code to populate the tabs when a dive is selected. 2013-05-06 09:58:13 -07:00
maintab.ui Fill Dive Notes widget 2013-05-06 10:16:16 -07:00
mainwindow.cpp Allow walking the dive list with the cursor keys 2013-05-12 06:58:56 -07:00
mainwindow.h Allow walking the dive list with the cursor keys 2013-05-12 06:58:56 -07:00
mainwindow.ui Make nextDC and previousDC work and assign shortcuts 2013-05-10 10:49:00 -07:00
modeldelegates.cpp Merge branch 'tomaz-css' into Qt 2013-05-02 17:02:55 -07:00
modeldelegates.h Test the CSS for styling the TableView 2013-05-02 16:56:13 -07:00
models.cpp Start populating the maintab Dive Info widget 2013-05-06 20:38:38 -07:00
models.h Added code to Select a dive, fixed minor annoyances. 2013-05-02 16:56:48 -07:00
plotareascene.cpp Add Qtr_ macros that uses gettext in a tr() compatible manner 2013-04-13 20:44:02 -07:00
plotareascene.h Add Qtr_ macros that uses gettext in a tr() compatible manner 2013-04-13 20:44:02 -07:00
profilegraphics.cpp Fixed loading the first dive via command line on the profile. 2013-05-10 10:49:00 -07:00
profilegraphics.h Fixed loading the first dive via command line on the profile. 2013-05-10 10:49:00 -07:00
starwidget.cpp Added support for showing the Stars on the DiveTable 2013-04-27 12:27:27 -03:00
starwidget.h Added support for showing the Stars on the DiveTable 2013-04-27 12:27:27 -03:00