diff options
author | Roopesh Chander <roop@forwardbias.in> | 2009-11-03 20:36:01 +0530 |
---|---|---|
committer | Roopesh Chander <roop@forwardbias.in> | 2009-11-03 20:36:01 +0530 |
commit | 3f963c16c47c99a6ae9377d83401395fd5bc267a (patch) | |
tree | 43ebafe9cd5d74aca11f7080180c1e9688f7fe7d /webscrap.h | |
parent | 05a1b090dfcd7f3dfa509bb8de4043d699c000ae (diff) |
remember scaling of scraps across sessions
Diffstat (limited to 'webscrap.h')
-rw-r--r-- | webscrap.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -51,11 +51,12 @@ private: class WebScrapContainer : public QGraphicsWidget { Q_OBJECT public: - WebScrapContainer(WebScrap *scrap, QGraphicsScene *scene); + WebScrapContainer(WebScrap *scrap, QGraphicsScene *scene, qreal xScale = 1.0, qreal yScale = 1.0); void createToolbar(); QRectF boundingRect() const; WebScrap* webScrap() const; void updateGlow(); + const QGraphicsScale *scrapScale() const; public slots: void setTitle(const QString& title); |