- Replaced the QWebView with a custom widget

- Added support form Back and Forward mouse buttons to webview


FossilOrigin-Name: c2c1b42f9604c19f48e4811c4eaf44d63aee60fe
This commit is contained in:
kostas
2013-01-13 10:36:07 +00:00
parent 9e4e35a56a
commit 6f8e7a622a
6 changed files with 95 additions and 56 deletions

21
src/CustomWebView.h Normal file
View File

@ -0,0 +1,21 @@
#ifndef CUSTOMWEBVIEW_H
#define CUSTOMWEBVIEW_H
#include <QWebView>
class CustomWebView : public QWebView
{
Q_OBJECT
public:
explicit CustomWebView(QWidget *parent = 0);
signals:
public slots:
protected:
virtual void mousePressEvent(QMouseEvent *event);
};
#endif // CUSTOMWEBVIEW_H