mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-12-19 03:54:07 +00:00
b5349478cf
The next commit will add `.git-blame-ignore-revs` https://docs.github.com/en/repositories/working-with-files/using-files/viewing-a-file#ignore-commits-in-the-blame-view
26 lines
486 B
C++
26 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
|