Commit 333514e2 authored by Laurent Montel's avatar Laurent Montel 😁

Warning--/Debug--

parent f48dbd85
......@@ -120,7 +120,7 @@ QString WebEngineScript::searchElementPosition(const QString &elementStr)
" var geometry = element.getBoundingClientRect(); "
" [(geometry.left + window.scrollX), (geometry.top + window.scrollY)]; "
"}").arg(elementStr);
qDebug()<<" source "<<source;
//qDebug()<<" source "<<source;
return source;
}
......@@ -146,7 +146,7 @@ QString WebEngineScript::scrollDown(int pixel)
QString WebEngineScript::scrollToPosition(const QPoint &pos)
{
const QString source = QString::fromLatin1("window.scrollTo(%1, %2); [window.scrollX, window.scrollY];").arg(pos.x()).arg(pos.y());
qDebug()<<" source "<<source;
//qDebug()<<" source "<<source;
return source;
}
......
......@@ -48,31 +48,37 @@ WebEngineView::~WebEngineView()
void WebEngineView::forwardWheelEvent(QWheelEvent *event)
{
Q_UNUSED(event);
//qDebug()<<" void WebEngineView::forwardWheelEvent(QWheelEvent *event)";
}
void WebEngineView::forwardKeyPressEvent(QKeyEvent *event)
{
Q_UNUSED(event);
//qDebug()<<" void WebEngineView::forwardKeyPressEvent(QKeyEvent *event)";
}
void WebEngineView::forwardKeyReleaseEvent(QKeyEvent *event)
{
Q_UNUSED(event);
//qDebug()<<" void WebEngineView::forwardKeyReleaseEvent(QKeyEvent *event)";
}
void WebEngineView::forwardMousePressEvent(QMouseEvent *event)
{
Q_UNUSED(event);
//qDebug()<<" void WebEngineView::forwardMousePressEvent(QKeyEvent *event)";
}
void WebEngineView::forwardMouseMoveEvent(QMouseEvent *event)
{
Q_UNUSED(event);
//qDebug()<<" void WebEngineView::forwardMouseMoveEvent(QKeyEvent *event)";
}
void WebEngineView::forwardMouseReleaseEvent(QMouseEvent *event)
{
Q_UNUSED(event);
//qDebug()<<" void WebEngineView::forwardMouseReleaseEvent(QKeyEvent *event)";
}
......
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