mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 04:24:09 +00:00
ae8c2df4a8
when close inspected windows,the inspect is still working .
25 lines
481 B
C++
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
|