goldendict-ng/src/ui/article_inspect.hh
2023-04-17 19:11:58 -04:00

24 lines
486 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( QWebEnginePage * page);
void triggerAction( QWebEnginePage * page );
private:
virtual void closeEvent( QCloseEvent * );
};
#endif // ARTICLE_INSPECT_H