-
This commit is contained in:
@@ -2,17 +2,23 @@
|
||||
#define WEBVIEWQT_H
|
||||
|
||||
#include <QWebEngineView>
|
||||
#include <QTimer>
|
||||
|
||||
class WebViewQt : public QWebEngineView
|
||||
{
|
||||
Q_OBJECT
|
||||
private:
|
||||
int _id;
|
||||
int _id;
|
||||
|
||||
public:
|
||||
int id() const;
|
||||
|
||||
public:
|
||||
void runJs(const char *js);
|
||||
QString runJs(const QString &js);
|
||||
|
||||
signals:
|
||||
void pageLoaded(WebViewQt *, bool ok);
|
||||
|
||||
|
||||
public:
|
||||
WebViewQt(int id, QWidget *parent = nullptr);
|
||||
|
||||
Reference in New Issue
Block a user