21#include "transformtool.h"
23#include "undoredomanager.h"
39 ToolType type()
const override {
return SELECT; }
41 void loadSettings()
override;
53 void controlOffsetOrigin(
QPointF currentPoint,
QPointF anchorPoint, Layer::LAYER_TYPE layerType);
55 void beginSelection(
Layer* currentLayer,
const QPointF& pos);
60 inline bool isSelectionPointValid(
const QPointF& pos) {
return mAnchorOriginPoint != pos; }
61 bool maybeDeselect(
const QPointF& pos);
68 MoveMode mStartMoveMode = MoveMode::NONE;
73 SAVESTATE_ID mUndoStateId = 0;
The SelectionManager class acts as the "Brain" of the selection system.
virtual bool event(QEvent *e)
QObject * parent() const const