mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-05 22:09:52 +08:00

Make it convenient to add third-party libraries. Signed-off-by: Le Tan <tamlokveer@gmail.com>
17 lines
319 B
C++
17 lines
319 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 &url, NavigationType type, bool isMainFrame);
|
|
};
|
|
|
|
#endif // VPREVIEWPAGE_H
|