goldendict-ng/article_inspect.h

24 lines
486 B
C
Raw Normal View History

#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:
2022-03-05 11:34:49 +00:00
ArticleInspector( QWidget * parent = nullptr );
2022-08-08 12:48:46 +00:00
void setInspectPage( QWebEnginePage * page);
void triggerAction( QWebEnginePage * page );
private:
virtual void closeEvent( QCloseEvent * );
};
#endif // ARTICLE_INSPECT_H