mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-05 13:59:52 +08:00
19 lines
391 B
C++
19 lines
391 B
C++
#ifndef VPREVIEWPAGE_H
|
|
#define VPREVIEWPAGE_H
|
|
|
|
#include <QWebEnginePage>
|
|
|
|
class VPreviewPage : public QWebEnginePage
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit VPreviewPage(QWidget *parent = 0);
|
|
|
|
protected:
|
|
bool acceptNavigationRequest(const QUrl &p_url,
|
|
NavigationType p_type,
|
|
bool p_isMainFrame);
|
|
};
|
|
|
|
#endif // VPREVIEWPAGE_H
|