diff options
author | Roopesh Chander <roop@forwardbias.in> | 2009-10-29 19:24:59 +0530 |
---|---|---|
committer | Roopesh Chander <roop@forwardbias.in> | 2009-10-29 19:24:59 +0530 |
commit | beab27f6a906d6556b9b229e1565dd0b47a4186d (patch) | |
tree | 6c7efbffb53c0a5d46344ae54087336c0c4ce227 /webscrap.h | |
parent | 3cc54f83ff44e0ffd17713ab8c9c2c458dc2fb1e (diff) |
resizing of a scrap after it's added
Diffstat (limited to 'webscrap.h')
-rw-r--r-- | webscrap.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -6,6 +6,7 @@ #include <QLinearGradient> #include <QToolButton> #include "graphicstoolbar.h" +#include "resizeuihelper.h" class WebScrap : public QGraphicsWebView { @@ -54,6 +55,7 @@ public: public slots: void setTitle(const QString& title); void handleCloseButtonClicked(); + void handleRectResized(QRectF rect); protected: bool sceneEventFilter(QGraphicsItem *watched, QEvent* event); @@ -69,5 +71,6 @@ public: QGraphicsTextItem *m_titlebar; GraphicsToolBar *m_toolbar; QToolButton *m_closeButton, *m_adjustButton, *m_reloadButton; + ResizeUiHelper *m_resizer; }; #endif // WEBSCRAP_H |