summaryrefslogtreecommitdiffstats
path: root/webview.h
diff options
context:
space:
mode:
authorRoopesh Chander <roop@forwardbias.in>2009-10-09 12:40:25 +0530
committerRoopesh Chander <roop@forwardbias.in>2009-10-09 12:40:25 +0530
commit4913142da7bebab7c083aa9540a980d4f0e75c10 (patch)
tree8ed6c489f74f909fd03f4bc8d8eeb04169d09280 /webview.h
parent65c42f7af818f79623402818e6540bf10629d096 (diff)
try highlighting the web element on hover
Diffstat (limited to 'webview.h')
-rw-r--r--webview.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/webview.h b/webview.h
new file mode 100644
index 0000000..467e917
--- /dev/null
+++ b/webview.h
@@ -0,0 +1,19 @@
+#ifndef WEBVIEW_H
+#define WEBVIEW_H
+
+#include <QWebView>
+
+class WebView : public QWebView
+{
+public:
+ WebView(QWidget * parent = 0);
+
+protected:
+ void mouseMoveEvent(QMouseEvent* event);
+ void paintEvent(QPaintEvent* event);
+
+private:
+ QRect m_scrapRect;
+};
+
+#endif // WEBVIEW_H