summaryrefslogtreecommitdiffstats
path: root/webview.h
diff options
context:
space:
mode:
authorRoopesh Chander <roop@forwardbias.in>2009-10-29 13:17:43 +0530
committerRoopesh Chander <roop@forwardbias.in>2009-10-29 13:41:23 +0530
commitf46e2aa629998667a1c822e66bd3ed14d1bf10dc (patch)
treea57caf926f49b93ee87b783964371c23320e4777 /webview.h
parenta84a55f3f15fd3385de9889449db65a7b8d506f9 (diff)
enable resizing of the scrap rect while selecting the scrap in the webview
Diffstat (limited to 'webview.h')
-rw-r--r--webview.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/webview.h b/webview.h
index 3202dfb..e4f575e 100644
--- a/webview.h
+++ b/webview.h
@@ -8,6 +8,7 @@
#include <QPainter>
#include <QWebPage>
#include "graphicstoolbar.h"
+#include "resizeuihelper.h"
class WebView : public QGraphicsWebView
{
@@ -21,10 +22,13 @@ public:
public slots:
void setScrapSelectionEnabled(bool enabled);
+ void selectScrap();
void unselectScrap();
void addScrap();
void show();
void hide();
+ void setScrapRect(QRect rect);
+ void setScrapRect(QRectF rect);
signals:
void scrapAdded(QUrl url, QRect scrapRect, QPoint position);
@@ -43,6 +47,7 @@ private:
GraphicsToolBar *m_addScrapToolbar;
QPushButton *m_addButton, *m_cancelButton;
+ ResizeUiHelper *m_resizer;
};
#endif // WEBVIEW_H