23 lines
288 B
C++
23 lines
288 B
C++
#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
|