mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-12-18 23:54:05 +00:00
23 lines
418 B
C++
23 lines
418 B
C++
#pragma once
|
|
|
|
#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 * );
|
|
};
|