diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-06-06 03:29:11 +0900 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-06-06 03:29:11 +0900 |
commit | 74d23ed83b0fe4a2270adc41b5a9bd20b7ca5d29 (patch) | |
tree | 29cf5c306e75f4d0eef8eda4ac34ddd7963cbe8d /qt-ui/divelistview.h | |
parent | 4b405caa2c4704fe51f0f9425a91050199c17ac0 (diff) | |
download | subsurface-74d23ed83b0fe4a2270adc41b5a9bd20b7ca5d29.tar.gz |
Add context menu to dive list
So far we support "expand all" and "collapse" all. This still needs to
be restricted to only be shown when in trip / tree mode.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/divelistview.h')
-rw-r--r-- | qt-ui/divelistview.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/divelistview.h b/qt-ui/divelistview.h index 630f74e7f..2bce35612 100644 --- a/qt-ui/divelistview.h +++ b/qt-ui/divelistview.h @@ -28,6 +28,7 @@ public: bool eventFilter(QObject* , QEvent* ); void unselectDives(); void selectDive(struct dive *, bool scrollto = false); + void mousePressEvent(QMouseEvent *event); public slots: void toggleColumnVisibilityByIndex(); |