mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-30 21:34:07 +00:00
24 lines
481 B
C++
24 lines
481 B
C++
#ifndef ARTICLE_INSPECT_H
|
|
#define ARTICLE_INSPECT_H
|
|
|
|
#include <QDialog>
|
|
#include <QWebEngineView>
|
|
#include <QWebEnginePage>
|
|
#include <QVBoxLayout>
|
|
|
|
class ArticleInspector : public QWidget
|
|
{
|
|
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
|