goldendict-ng/article_inspect.h
2022-03-05 19:34:49 +08:00

25 lines
483 B
C++

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