summaryrefslogtreecommitdiffstats
path: root/qt-ui/divelogimportdialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/divelogimportdialog.h')
-rw-r--r--qt-ui/divelogimportdialog.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/qt-ui/divelogimportdialog.h b/qt-ui/divelogimportdialog.h
index f658e5df4..9441fa71a 100644
--- a/qt-ui/divelogimportdialog.h
+++ b/qt-ui/divelogimportdialog.h
@@ -3,6 +3,7 @@
#include <QDialog>
#include <QAbstractListModel>
+#include <QListView>
#include "../dive.h"
#include "../divelist.h"
@@ -24,6 +25,14 @@ private:
QStringList columnNames;
};
+class ColumnNameView : public QListView {
+ Q_OBJECT
+public:
+ ColumnNameView(QWidget *parent);
+protected:
+ void mousePressEvent(QMouseEvent *press);
+};
+
class DiveLogImportDialog : public QDialog {
Q_OBJECT