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