21#include "transformtool.h"
23#include "undoredomanager.h"
39 ToolType type()
const override {
return SELECT; }
41 void loadSettings()
override;
52 void controlOffsetOrigin(
QPointF currentPoint,
QPointF anchorPoint, Layer::LAYER_TYPE layerType);
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;
The SelectionManager class acts as the "Brain" of the selection system.
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...