-
This commit is contained in:
@@ -4,24 +4,25 @@
|
||||
#include <QWebEngineView>
|
||||
#include <QTimer>
|
||||
|
||||
class WebviewWindow;
|
||||
|
||||
class WebViewQt : public QWebEngineView
|
||||
{
|
||||
Q_OBJECT
|
||||
private:
|
||||
int _id;
|
||||
int _id;
|
||||
WebviewWindow *_window;
|
||||
|
||||
public:
|
||||
int id() const;
|
||||
|
||||
public:
|
||||
QString runJs(const QString &js);
|
||||
WebviewWindow *wvWin();
|
||||
|
||||
signals:
|
||||
void pageLoaded(WebViewQt *, bool ok);
|
||||
|
||||
|
||||
public:
|
||||
WebViewQt(int id, QWidget *parent = nullptr);
|
||||
WebViewQt(int id, WebviewWindow *window);
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user