diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2013-06-12 14:14:25 -0300 |
---|---|---|
committer | Tomaz Canabrava <tcanabrava@kde.org> | 2013-06-12 14:14:25 -0300 |
commit | ab0213f28ecfb1b49ca0c5c7c1d6900ab1fb8d71 (patch) | |
tree | 047ddf336fb5e15f013a51623e7a833bc6d18911 /qt-ui/divelistview.h | |
parent | bd8470ebcfe07a347c3c47d2a72e0b8cdd316630 (diff) | |
download | subsurface-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.h | 3 |
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); |