#ifndef WEBBROWSERPLUGIN_H #define WEBBROWSERPLUGIN_H #include <../../src/interface.h> #include #include class WebBrowserPlugin : public QObject, public Interface { Q_OBJECT Q_PLUGIN_METADATA(IID "org.SOM.Interface" FILE "WebBrowserPlugin.json") Q_INTERFACES(Interface) public: QString pname() override; QString pdesc() override; QWidget *pcontent() override; void connectToHost(QObject* host) override; private: QGroupBox *horizontalGroupBox; QPushButton *back; QPushButton *forward; QPushButton *refresh; QLineEdit *smallEditor; QPushButton *go; QWebEngineView *view; private slots: void gotourl(); void refreshpage(); void backpage(); void forwardpage(); }; #endif