Add class skeleton that will handle the drag starts

This class will handle the drag 'n drop "drag" part.

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2015-01-06 14:54:58 -02:00 committed by Dirk Hohndel
parent d57d86f5dc
commit 2034508c07
3 changed files with 27 additions and 1 deletions

View file

@ -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