Files
racket-webview/rktwebview_qt/webviewqt.h
2026-03-03 16:10:38 +01:00

30 lines
417 B
C++

#ifndef WEBVIEWQT_H
#define WEBVIEWQT_H
#include <QWebEngineView>
#include <QTimer>
class WebviewWindow;
class WebViewQt : public QWebEngineView
{
Q_OBJECT
private:
int _id;
WebviewWindow *_window;
public:
int id() const;
WebviewWindow *wvWin();
signals:
void pageLoaded(WebViewQt *, bool ok);
public:
WebViewQt(int id, WebviewWindow *window);
};
#endif // WEBVIEWQT_H