diff options
author | Amit Chaudhuri <amit.k.chaudhuri@gmail.com> | 2013-04-24 16:57:30 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-04-24 13:06:42 -0700 |
commit | edab566105eba559c1a3976f18ca9be0a05db43b (patch) | |
tree | 30d48fc6ae14896d6e2c66fc3f04b19a820e9606 /qt-ui/divelistview.cpp | |
parent | 17c4120143dc946133bf602efb1d26844b750aaf (diff) | |
download | subsurface-edab566105eba559c1a3976f18ca9be0a05db43b.tar.gz |
Amend divetrip model to use int units
Amend the DiveItem class to avoid float in favour of int. Add getters
which return display friendly QStrings reflecting user preferences for
(e.g.) depth.
Modify DiveTripModel to support controlled alignment by column; right
align for depth and duration.
Fix problems with utf8 encoding on rating stars, degree symbols and
O2 subscript.
Signed-off-by: Amit Chaudhuri <amit.k.chaudhuri@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/divelistview.cpp')
-rw-r--r-- | qt-ui/divelistview.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/divelistview.cpp b/qt-ui/divelistview.cpp index a8b1eff05..676d7c463 100644 --- a/qt-ui/divelistview.cpp +++ b/qt-ui/divelistview.cpp @@ -8,4 +8,5 @@ DiveListView::DiveListView(QWidget *parent) : QTreeView(parent) { + setUniformRowHeights(true); } |