18 lines
336 B
C
18 lines
336 B
C
|
#pragma once
|
||
|
|
||
|
#include <QMainWindow>
|
||
|
#include <QBoxLayout>
|
||
|
#include <QUrl>
|
||
|
#include <QWebEngineView>
|
||
|
#include <QCloseEvent>
|
||
|
|
||
|
class HelpBrowser:public QMainWindow {
|
||
|
Q_OBJECT
|
||
|
public:
|
||
|
HelpBrowser(QUrl const &url, QWidget *parent = nullptr);
|
||
|
protected:
|
||
|
void closeEvent(QCloseEvent *e) override;
|
||
|
protected:
|
||
|
QWebEngineView * _browser;
|
||
|
};
|