2024-11-07 03:53:04 +00:00
|
|
|
#pragma once
|
2022-03-04 15:25:11 +00:00
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
#include <QWebEngineView>
|
|
|
|
#include <QWebEnginePage>
|
|
|
|
#include <QVBoxLayout>
|
|
|
|
|
2022-05-20 09:18:38 +00:00
|
|
|
class ArticleInspector: public QWidget
|
2022-03-04 15:25:11 +00:00
|
|
|
{
|
|
|
|
Q_OBJECT
|
2022-05-28 05:11:08 +00:00
|
|
|
QWebEngineView * viewContainer = nullptr;
|
2023-07-20 08:02:22 +00:00
|
|
|
|
2022-03-04 15:25:11 +00:00
|
|
|
public:
|
2022-03-05 11:34:49 +00:00
|
|
|
ArticleInspector( QWidget * parent = nullptr );
|
2022-03-04 15:25:11 +00:00
|
|
|
|
2022-08-08 12:48:46 +00:00
|
|
|
void setInspectPage( QWebEnginePage * page );
|
2022-10-13 12:31:37 +00:00
|
|
|
void triggerAction( QWebEnginePage * page );
|
2023-07-20 08:02:22 +00:00
|
|
|
|
2022-03-04 15:25:11 +00:00
|
|
|
private:
|
2022-06-23 12:05:59 +00:00
|
|
|
|
2022-03-04 15:25:11 +00:00
|
|
|
virtual void closeEvent( QCloseEvent * );
|
|
|
|
};
|