summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2016-05-24 13:12:02 +0200
committerMontel Laurent <[email protected]>2016-05-24 13:12:02 +0200
commit7ca19cc885ce61d634e17aec05648b5641ea8581 (patch)
tree04b021019ef7bc8dc7a87e236d90f6dec743a7f5
parent0046971b43f2310b3060f99a8ad94cd5bec77f90 (diff)
Add more debug
-rw-r--r--messageviewer/src/viewer/webengine/mailwebengineview.cpp5
-rw-r--r--messageviewer/src/viewer/webengine/mailwebengineview.h1
-rw-r--r--webengineviewer/src/webengineview.cpp15
-rw-r--r--webengineviewer/src/webengineview.h5
4 files changed, 26 insertions, 0 deletions
diff --git a/messageviewer/src/viewer/webengine/mailwebengineview.cpp b/messageviewer/src/viewer/webengine/mailwebengineview.cpp
index 16de604..f324d76 100644
--- a/messageviewer/src/viewer/webengine/mailwebengineview.cpp
+++ b/messageviewer/src/viewer/webengine/mailwebengineview.cpp
@@ -361,3 +361,8 @@ void MailWebEngineView::dragMoveEvent(QDragMoveEvent *e)
WebEngineViewer::WebEngineView::dragMoveEvent(e);
//TODO
}
+
+void MailWebEngineView::dropEvent(QDropEvent *e)
+{
+ qDebug()<<" MailWebEngineView::dropEvent";
+}
diff --git a/messageviewer/src/viewer/webengine/mailwebengineview.h b/messageviewer/src/viewer/webengine/mailwebengineview.h
index ca846ce..08ff84c 100644
--- a/messageviewer/src/viewer/webengine/mailwebengineview.h
+++ b/messageviewer/src/viewer/webengine/mailwebengineview.h
@@ -80,6 +80,7 @@ protected:
void contextMenuEvent(QContextMenuEvent *e) Q_DECL_OVERRIDE;
void dragMoveEvent(QDragMoveEvent *e) Q_DECL_OVERRIDE;
void dragEnterEvent(QDragEnterEvent *event) Q_DECL_OVERRIDE;
+ void dropEvent(QDropEvent *e) Q_DECL_OVERRIDE;
Q_SIGNALS:
void wheelZoomChanged(int numSteps);
void openUrl(const QUrl &url);
diff --git a/webengineviewer/src/webengineview.cpp b/webengineviewer/src/webengineview.cpp
index ed53585..c534495 100644
--- a/webengineviewer/src/webengineview.cpp
+++ b/webengineviewer/src/webengineview.cpp
@@ -102,6 +102,21 @@ void WebEngineView::forwardMouseReleaseEvent(QMouseEvent *event)
Q_UNUSED(event);
}
+void WebEngineView::dragMoveEvent(QDragMoveEvent *e)
+{
+ qDebug()<<" void WebEngineView::dragMoveEvent(QDragMoveEvent *e)";
+}
+
+void WebEngineView::dragEnterEvent(QDragEnterEvent *event)
+{
+ qDebug()<<" void WebEngineView::dragEnterEvent(QDragEnterEvent *event)";
+}
+
+void WebEngineView::dropEvent(QDropEvent *e)
+{
+ qDebug()<<" WebEngineView::dropEvent ";
+}
+
bool WebEngineView::eventFilter(QObject *obj, QEvent *event)
{
// Hack to find widget that receives input events
diff --git a/webengineviewer/src/webengineview.h b/webengineviewer/src/webengineview.h
index cf96046..0c7a5e3 100644
--- a/webengineviewer/src/webengineview.h
+++ b/webengineviewer/src/webengineview.h
@@ -48,6 +48,11 @@ protected:
virtual void forwardMousePressEvent(QMouseEvent *event);
virtual void forwardMouseMoveEvent(QMouseEvent *event);
virtual void forwardMouseReleaseEvent(QMouseEvent *event);
+
+ void dragMoveEvent(QDragMoveEvent *e) Q_DECL_OVERRIDE;
+ void dragEnterEvent(QDragEnterEvent *event) Q_DECL_OVERRIDE;
+ void dropEvent(QDropEvent *e) Q_DECL_OVERRIDE;
+
private Q_SLOTS:
void slotLoadFinished();
private: