goldendict-ng/article_inspect.h
yifang ae8c2df4a8 optimize: F12 improve
when close inspected windows,the inspect is still working .
2022-03-04 23:27:34 +08:00

25 lines
481 B
C++

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