summaryrefslogtreecommitdiffstats
path: root/webscrap.h
diff options
context:
space:
mode:
authorRoopesh Chander <roop@forwardbias.in>2009-10-29 19:24:59 +0530
committerRoopesh Chander <roop@forwardbias.in>2009-10-29 19:24:59 +0530
commitbeab27f6a906d6556b9b229e1565dd0b47a4186d (patch)
tree6c7efbffb53c0a5d46344ae54087336c0c4ce227 /webscrap.h
parent3cc54f83ff44e0ffd17713ab8c9c2c458dc2fb1e (diff)
resizing of a scrap after it's added
Diffstat (limited to 'webscrap.h')
-rw-r--r--webscrap.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/webscrap.h b/webscrap.h
index 2c5f25b..df8dfe0 100644
--- a/webscrap.h
+++ b/webscrap.h
@@ -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