goldendict-ng/article_inspect.h
2022-05-29 16:00:28 +08:00

23 lines
439 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 * viewContainer = nullptr;
public:
ArticleInspector( QWidget * parent = nullptr );
void setInspectPage( QWebEngineView * view);
private:
virtual void closeEvent( QCloseEvent * );
};
#endif // ARTICLE_INSPECT_H