This commit is contained in:
2026-03-03 16:10:38 +01:00
parent 35aae3b707
commit 5f0b7d3dc8
16 changed files with 766 additions and 334 deletions

View File

@@ -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);
};