23#include "undoredomanager.h"
36 ToolType type()
override {
return SELECT; }
37 void loadSettings()
override;
40 void resetToDefault()
override;
41 void setShowSelectionInfo(
const bool b)
override;
52 void controlOffsetOrigin(
QPointF currentPoint,
QPointF anchorPoint);
54 void beginSelection(
Layer* currentLayer,
const QPointF& pos);
59 inline bool isSelectionPointValid(
const QPointF& pos) {
return mAnchorOriginPoint != pos; }
60 bool maybeDeselect(
const QPointF& pos);
67 MoveMode mStartMoveMode = MoveMode::NONE;
virtual bool event(QEvent *e)
QObject * parent() const const
This is the main undo/redo state structure which is meant to populate whatever states that needs to b...