diff options
Diffstat (limited to 'qt-ui/divelogimportdialog.h')
-rw-r--r-- | qt-ui/divelogimportdialog.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/qt-ui/divelogimportdialog.h b/qt-ui/divelogimportdialog.h index 9441fa71a..efb7f296a 100644 --- a/qt-ui/divelogimportdialog.h +++ b/qt-ui/divelogimportdialog.h @@ -4,6 +4,7 @@ #include <QDialog> #include <QAbstractListModel> #include <QListView> +#include <QDragLeaveEvent> #include "../dive.h" #include "../divelist.h" @@ -31,6 +32,12 @@ public: ColumnNameView(QWidget *parent); protected: void mousePressEvent(QMouseEvent *press); + void dragLeaveEvent(QDragLeaveEvent *leave); + void dragEnterEvent(QDragEnterEvent *event); + void dragMoveEvent(QDragMoveEvent *event); + void dropEvent(QDropEvent *event); +private: + int currentDraggedIndex; }; class DiveLogImportDialog : public QDialog { |