mirror of
https://gitee.com/spark-store-project/spark-web-app-runtime.git
synced 2025-09-11 13:52:23 +08:00
21 lines
353 B
C++
21 lines
353 B
C++
#ifndef WEBENGINEPAGE_H
|
|
#define WEBENGINEPAGE_H
|
|
|
|
#include <QWebEnginePage>
|
|
#include <QObject>
|
|
|
|
class WebEnginePage : public QWebEnginePage
|
|
{
|
|
public:
|
|
WebEnginePage(QObject *parent = Q_NULLPTR);
|
|
|
|
protected:
|
|
QWebEnginePage *createWindow(WebWindowType type) override;
|
|
|
|
public slots:
|
|
void onUrlChanged(const QUrl);
|
|
|
|
};
|
|
|
|
#endif // WEBENGINEPAGE_H
|