Commit 7ca19cc8 authored by Laurent Montel's avatar Laurent Montel 😁

Add more debug

parent 0046971b
......@@ -361,3 +361,8 @@ void MailWebEngineView::dragMoveEvent(QDragMoveEvent *e)
WebEngineViewer::WebEngineView::dragMoveEvent(e);
//TODO
}
void MailWebEngineView::dropEvent(QDropEvent *e)
{
qDebug()<<" MailWebEngineView::dropEvent";
}
......@@ -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);
......
......@@ -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
......
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment