#ifndef ARTICLE_INSPECT_H #define ARTICLE_INSPECT_H #include #include #include #include class ArticleInspector : public QDialog { Q_OBJECT QWebEngineView * inspectView = nullptr; QWebEnginePage * inspectedPage = nullptr; public: ArticleInspector( QWidget * parent = nullptr ); void setInspectPage( QWebEngineView * view); private: virtual void closeEvent( QCloseEvent * ); }; #endif // ARTICLE_INSPECT_H