2022-03-04 15:25:11 +00:00
|
|
|
#ifndef ARTICLE_INSPECT_H
|
|
|
|
#define ARTICLE_INSPECT_H
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
#include <QWebEngineView>
|
|
|
|
#include <QWebEnginePage>
|
|
|
|
#include <QVBoxLayout>
|
|
|
|
|
2022-03-05 11:34:49 +00:00
|
|
|
class ArticleInspector : public QDialog
|
2022-03-04 15:25:11 +00:00
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
QWebEngineView * inspectView = nullptr;
|
|
|
|
QWebEnginePage * inspectedPage = nullptr;
|
|
|
|
public:
|
2022-03-05 11:34:49 +00:00
|
|
|
ArticleInspector( QWidget * parent = nullptr );
|
2022-03-04 15:25:11 +00:00
|
|
|
|
2022-03-25 15:35:39 +00:00
|
|
|
void setInspectPage( QWebEngineView * view);
|
2022-03-04 15:25:11 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
|
|
|
|
virtual void closeEvent( QCloseEvent * );
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // ARTICLE_INSPECT_H
|