goldendict-ng/article_inspect.h

25 lines
483 B
C
Raw Normal View History

#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
{
Q_OBJECT
QWebEngineView * inspectView = nullptr;
QWebEnginePage * inspectedPage = nullptr;
public:
2022-03-05 11:34:49 +00:00
ArticleInspector( QWidget * parent = nullptr );
void setInspectPage( QWebEnginePage * page );
private:
virtual void closeEvent( QCloseEvent * );
};
#endif // ARTICLE_INSPECT_H