This is the binary distribution of racket-webview
This commit is contained in:
24
webviewqt.cpp
Normal file
24
webviewqt.cpp
Normal file
@@ -0,0 +1,24 @@
|
||||
#include "webviewqt.h"
|
||||
#include "webviewwindow.h"
|
||||
#include <QWebEnginePage>
|
||||
#include <QJsonDocument>
|
||||
|
||||
WebViewQt::WebViewQt(int id, WebviewWindow *window)
|
||||
: QWebEngineView(window->profile(), window)
|
||||
{
|
||||
_id = id;
|
||||
_window = window;
|
||||
}
|
||||
|
||||
|
||||
int WebViewQt::id() const
|
||||
{
|
||||
return _id;
|
||||
}
|
||||
|
||||
WebviewWindow *WebViewQt::wvWin()
|
||||
{
|
||||
return _window;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user