Commit 4e214c45 authored by Laurent Montel's avatar Laurent Montel 😁

We need to load jquery

parent 6c7a0f5e
......@@ -39,6 +39,7 @@ WebEngineView::WebEngineView(QWidget *parent)
d(new WebEngineViewer::WebEngineViewPrivate)
{
installEventFilter(this);
connect(this, &WebEngineView::loadFinished, this, &WebEngineView::slotLoadFinished);
}
WebEngineView::~WebEngineView()
......@@ -141,3 +142,8 @@ bool WebEngineView::eventFilter(QObject *obj, QEvent *event)
}
return QWebEngineView::eventFilter(obj, event);
}
void WebEngineView::slotLoadFinished()
{
//TODO load jquery
}
......@@ -40,6 +40,8 @@ protected:
virtual void forwardMousePressEvent(QMouseEvent *event);
virtual void forwardMouseMoveEvent(QMouseEvent *event);
virtual void forwardMouseReleaseEvent(QMouseEvent *event);
private Q_SLOTS:
void slotLoadFinished();
private:
WebEngineViewPrivate *const d;
};
......
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