33 void keyPressEvent(QKeyEvent *event)
override;
34 void wheelEvent(QWheelEvent *event)
override;
35 bool eventFilter(QObject *watched, QEvent *event)
override;
51 void syncOnReferencesChange(
const QRectF &referencesRect);
52 void syncOnImageResolutionChange();
53 void syncOnImageSizeChange(
const QPointF &oldStillPoint,
const QPointF &newStillPoint);
55 void rotateCanvas(qreal angle,
const std::optional<KoViewTransformStillPoint> &stillPoint,
bool isNativeGesture =
false);
58 bool wrapAroundMode()
const;
60 bool levelOfDetailMode()
const;
67 void updateScreenResolution(QWidget *parentWidget);
68 bool usePrintResolutionMode();
70 qreal effectiveCanvasResolutionX()
const;
71 qreal effectiveCanvasResolutionY()
const;
74 void setUsePrintResolutionMode(
bool value);
76 void mirrorCanvas(
bool enable);
77 void mirrorCanvasAroundCursor(
bool enable);
78 void mirrorCanvasAroundCanvas(
bool enable);
80 void beginCanvasRotation();
81 void endCanvasRotation();
82 void rotateCanvas(qreal angle);
83 void rotateCanvasRight15();
84 void rotateCanvasLeft15();
85 qreal rotation()
const;
86 void resetCanvasRotation();
88 void slotToggleWrapAroundMode(
bool value);
90 void slotSetWrapAroundModeAxisHV();
91 void slotSetWrapAroundModeAxisH();
92 void slotSetWrapAroundModeAxisV();
93 void slotTogglePixelGrid(
bool value);
94 void slotToggleLevelOfDetailMode(
bool value);
103 void zoomInImpl(
const std::optional<KoViewTransformStillPoint> &stillPoint);
104 void zoomOutImpl(
const std::optional<KoViewTransformStillPoint> &stillPoint);
105 void mirrorCanvasImpl(
const std::optional<KoViewTransformStillPoint> &stillPoint,
bool enable);