-
This commit is contained in:
22
rktwebview_qt/webviewqt.h
Normal file
22
rktwebview_qt/webviewqt.h
Normal file
@@ -0,0 +1,22 @@
|
||||
#ifndef WEBVIEWQT_H
|
||||
#define WEBVIEWQT_H
|
||||
|
||||
#include <QWebEngineView>
|
||||
|
||||
class WebViewQt : public QWebEngineView
|
||||
{
|
||||
private:
|
||||
int _id;
|
||||
|
||||
public:
|
||||
int id() const;
|
||||
|
||||
public:
|
||||
void runJs(const char *js);
|
||||
|
||||
public:
|
||||
WebViewQt(int id, QWidget *parent = nullptr);
|
||||
|
||||
};
|
||||
|
||||
#endif // WEBVIEWQT_H
|
||||
Reference in New Issue
Block a user