subsurface/qt-ui
Dirk Hohndel 656b58f205 Add tooltip data and cleanup size calculations
Tomaz' code had a fixed height per tooltip item and some rather suspicious
logic how to position them (and how to size the surrounding box), based on
a fixed height in pixels per item - which of course fails if you use
larger fonts or multi line items.

This uses the bounding rects to correctly calculate the sizes and populates
the tooltip with the other dive data that we already had in a helper
function.

This also fixes a small formatting issue for gas change events.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-08 15:46:16 -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 Fix crash on right click dive trip 2013-05-08 12:10:51 -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 Start populating the maintab Dive Info widget 2013-05-06 20:38:38 -07:00
mainwindow.h Added code to select / desselect a range of items 2013-05-03 21:49:40 -03:00
mainwindow.ui Add various keyboard shortcuts. 2013-05-06 06:12:53 -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 Add tooltip data and cleanup size calculations 2013-05-08 15:46:16 -07:00
profilegraphics.h Stop passing around gc and pi 2013-05-08 15:01:49 -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