aboutsummaryrefslogtreecommitdiff
path: root/stfstrokeitem.h
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2020-09-12 02:21:04 +0200
committerJavier <dev.git@javispedro.com>2020-09-12 02:21:04 +0200
commitc2eca928c5a7be0444fcb5c41ffe77b557714575 (patch)
treeaf7d2ed9e2b018a4ea95329bb944853f41cf088f /stfstrokeitem.h
parent20de09ffbaa00ab3adf91e49b847eb0061315b1e (diff)
downloadscribiu-c2eca928c5a7be0444fcb5c41ffe77b557714575.tar.gz
scribiu-c2eca928c5a7be0444fcb5c41ffe77b557714575.zip
when zooming out, place pages on a grid layout
Diffstat (limited to 'stfstrokeitem.h')
-rw-r--r--stfstrokeitem.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/stfstrokeitem.h b/stfstrokeitem.h
index 5e7a253..eaf8d8a 100644
--- a/stfstrokeitem.h
+++ b/stfstrokeitem.h
@@ -29,10 +29,12 @@ public:
enum { Type = UserType + 't' };
- int type() const;
+ int type() const override;
+
+ bool hasPaperReplay() const;
protected:
- void mousePressEvent(QGraphicsSceneMouseEvent *event);
+ void mousePressEvent(QGraphicsSceneMouseEvent *event) override;
private:
PaperReplay::Session _session;