blob: 70b5a6efcfc647790c3672ffe13132649960ac64 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#ifndef WEBVIEW_H
#define WEBVIEW_H
#include <QSettings>
#include <QWebEngineView>
class WebView : public QWebEngineView {
Q_OBJECT
public:
WebView(QWidget *parent = nullptr, QStringList dictionaries = {});
protected:
void contextMenuEvent(QContextMenuEvent *event) override;
private:
QStringList m_dictionaries;
QSettings settings;
};
#endif // WEBVIEW_H
|