summaryrefslogtreecommitdiffstats
path: root/qt-ui/divelogimportdialog.cpp
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2015-01-06 15:56:08 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-01-06 19:37:37 -0800
commitaa33ae9526a43dc90ebf06c96bcf3961abdbc6e4 (patch)
treea30c9eb2eaa289c756e95ba7f7a377e86163a2cd /qt-ui/divelogimportdialog.cpp
parentcedf339e1e8a7d146a3fa3a86e1eac9be2dd0d6e (diff)
downloadsubsurface-aa33ae9526a43dc90ebf06c96bcf3961abdbc6e4.tar.gz
Add skeleton code for the table view that will accepts drops
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/divelogimportdialog.cpp')
-rw-r--r--qt-ui/divelogimportdialog.cpp25
1 files changed, 24 insertions, 1 deletions
diff --git a/qt-ui/divelogimportdialog.cpp b/qt-ui/divelogimportdialog.cpp
index 8788db6c3..338fb1efa 100644
--- a/qt-ui/divelogimportdialog.cpp
+++ b/qt-ui/divelogimportdialog.cpp
@@ -96,7 +96,6 @@ void ColumnNameView::mousePressEvent(QMouseEvent *press)
void ColumnNameView::dragLeaveEvent(QDragLeaveEvent *leave)
{
-
}
void ColumnNameView::dragEnterEvent(QDragEnterEvent *event)
@@ -118,6 +117,30 @@ void ColumnNameView::dropEvent(QDropEvent *event)
}
}
+ColumnDropCSVView::ColumnDropCSVView(QWidget *parent)
+{
+
+}
+
+void ColumnDropCSVView::dragLeaveEvent(QDragLeaveEvent *leave)
+{
+
+}
+
+void ColumnDropCSVView::dragEnterEvent(QDragEnterEvent *event)
+{
+
+}
+
+void ColumnDropCSVView::dragMoveEvent(QDragMoveEvent *event)
+{
+
+}
+
+void ColumnDropCSVView::dropEvent(QDropEvent *event)
+{
+
+}
DiveLogImportDialog::DiveLogImportDialog(QStringList *fn, QWidget *parent) : QDialog(parent),
selector(true),