From c2eca928c5a7be0444fcb5c41ffe77b557714575 Mon Sep 17 00:00:00 2001 From: Javier Date: Sat, 12 Sep 2020 02:21:04 +0200 Subject: when zooming out, place pages on a grid layout --- stfstrokeitem.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'stfstrokeitem.h') 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; -- cgit v1.2.3