diff options
author | Roopesh Chander <roop@forwardbias.in> | 2009-10-29 13:17:43 +0530 |
---|---|---|
committer | Roopesh Chander <roop@forwardbias.in> | 2009-10-29 13:41:23 +0530 |
commit | f46e2aa629998667a1c822e66bd3ed14d1bf10dc (patch) | |
tree | a57caf926f49b93ee87b783964371c23320e4777 /webview.h | |
parent | a84a55f3f15fd3385de9889449db65a7b8d506f9 (diff) |
enable resizing of the scrap rect while selecting the scrap in the webview
Diffstat (limited to 'webview.h')
-rw-r--r-- | webview.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |