diff options
Diffstat (limited to 'qt-ui/divelistview.h')
-rw-r--r-- | qt-ui/divelistview.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/qt-ui/divelistview.h b/qt-ui/divelistview.h index be9774c5c..9cccd39ae 100644 --- a/qt-ui/divelistview.h +++ b/qt-ui/divelistview.h @@ -20,6 +20,17 @@ class DiveListView : public QTreeView { public: DiveListView(QWidget *parent = 0); + + void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected); + void setModel(QAbstractItemModel* model); + + void mousePressEvent(QMouseEvent* event); + void mouseReleaseEvent(QMouseEvent* event); + + void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command); + +private: + bool mouseClickSelection; }; #endif // DIVELISTVIEW_H |