summaryrefslogtreecommitdiffstats
path: root/qt-ui/divelistview.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-06-12 14:14:25 -0300
committerGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-06-12 14:14:25 -0300
commitab0213f28ecfb1b49ca0c5c7c1d6900ab1fb8d71 (patch)
tree047ddf336fb5e15f013a51623e7a833bc6d18911 /qt-ui/divelistview.h
parentbd8470ebcfe07a347c3c47d2a72e0b8cdd316630 (diff)
downloadsubsurface-ab0213f28ecfb1b49ca0c5c7c1d6900ab1fb8d71.tar.gz
Implements the DiveList to behave like Linus Explained.
Implements the divelist to behave like linus explained, essentially, it filters the layoutChanges of the model, greps for trips, and for each trip that it finds, it set the 'firstColumnSpanned' property, to make the column to have the size of the whole table. e Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Diffstat (limited to 'qt-ui/divelistview.h')
-rw-r--r--qt-ui/divelistview.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/qt-ui/divelistview.h b/qt-ui/divelistview.h
index c578baa17..36e3e59fc 100644
--- a/qt-ui/divelistview.h
+++ b/qt-ui/divelistview.h
@@ -38,7 +38,8 @@ public slots:
void removeFromTrip();
void deleteDive();
void testSlot();
-
+ void fixMessyQtModelBehaviour();
+
Q_SIGNALS:
void currentDiveChanged(int divenr);