-
This commit is contained in:
30
rktwebview_qt/webviewwindow.h
Normal file
30
rktwebview_qt/webviewwindow.h
Normal file
@@ -0,0 +1,30 @@
|
||||
#ifndef WEBVIEWWINDOW_H
|
||||
#define WEBVIEWWINDOW_H
|
||||
|
||||
#include <QMainWindow>
|
||||
|
||||
class WebViewQt;
|
||||
class Rktwebview_qt;
|
||||
|
||||
class WebviewWindow : public QMainWindow
|
||||
{
|
||||
Q_OBJECT
|
||||
private:
|
||||
Rktwebview_qt *_container;
|
||||
WebViewQt *_view;
|
||||
|
||||
protected:
|
||||
void closeEvent(QCloseEvent *evt);
|
||||
|
||||
public:
|
||||
void addView(WebViewQt *v, Rktwebview_qt *c);
|
||||
|
||||
WebViewQt *view();
|
||||
|
||||
public:
|
||||
explicit WebviewWindow(QWidget *parent = nullptr);
|
||||
|
||||
signals:
|
||||
};
|
||||
|
||||
#endif // WEBVIEWWINDOW_H
|
||||
Reference in New Issue
Block a user