20 #ifndef LIBREPCB_LIBRARY_EDITOR_SYMBOLEDITORSTATE_DRAWCIRCLE_H
21 #define LIBREPCB_LIBRARY_EDITOR_SYMBOLEDITORSTATE_DRAWCIRCLE_H
39 class CircleGraphicsItem;
64 bool entry() noexcept
override;
65 bool exit() noexcept
override;
69 QGraphicsSceneMouseEvent& e) noexcept
override;
71 QGraphicsSceneMouseEvent& e) noexcept
override;
109 #endif // LIBREPCB_LIBRARY_EDITOR_SYMBOLEDITORSTATE_DRAWCIRCLE_H
bool processGraphicsSceneLeftMouseButtonPressed(QGraphicsSceneMouseEvent &e) noexceptoverride
Definition: symboleditorstate_drawcircle.cpp:138
void grabAreaCheckBoxCheckedChanged(bool checked) noexcept
Definition: symboleditorstate_drawcircle.cpp:252
The SymbolEditorState class is the base class of all symbol editor FSM states.
Definition: symboleditorstate.h:49
Definition: symboleditorfsm.h:79
void lineWidthEditValueChanged(const UnsignedLength &value) noexcept
Definition: symboleditorstate_drawcircle.cpp:236
SymbolEditorState_DrawCircle()=delete
void layerComboBoxValueChanged(const GraphicsLayerName &layerName) noexcept
Definition: symboleditorstate_drawcircle.cpp:228
void fillCheckBoxCheckedChanged(bool checked) noexcept
Definition: symboleditorstate_drawcircle.cpp:244
type_safe::constrained_type< QString, GraphicsLayerNameConstraint, GraphicsLayerNameVerifier > GraphicsLayerName
Definition: graphicslayername.h:78
Circle * mCurrentCircle
Definition: symboleditorstate_drawcircle.h:91
QScopedPointer< CmdCircleEdit > mEditCmd
Definition: symboleditorstate_drawcircle.h:90
bool mLastFill
Definition: symboleditorstate_drawcircle.h:97
bool mLastGrabArea
Definition: symboleditorstate_drawcircle.h:98
CircleGraphicsItem * mCurrentGraphicsItem
Definition: symboleditorstate_drawcircle.h:92
UnsignedLength mLastLineWidth
Definition: symboleditorstate_drawcircle.h:96
The Point class is used to represent a point/coordinate/vector, for example (1.2mm; 5...
Definition: point.h:78
bool entry() noexceptoverride
Definition: symboleditorstate_drawcircle.cpp:73
bool processAbortCommand() noexceptoverride
Definition: symboleditorstate_drawcircle.cpp:149
bool finishAddCircle(const Point &pos) noexcept
Definition: symboleditorstate_drawcircle.cpp:195
~SymbolEditorState_DrawCircle() noexcept
Definition: symboleditorstate_drawcircle.cpp:63
bool exit() noexceptoverride
Definition: symboleditorstate_drawcircle.cpp:111
The Circle class.
Definition: circle.h:47
bool abortAddCircle() noexcept
Definition: symboleditorstate_drawcircle.cpp:214
The SymbolEditorState_DrawCircle class.
Definition: symboleditorstate_drawcircle.h:52
The CircleGraphicsItem class.
Definition: circlegraphicsitem.h:46
GraphicsLayerName mLastLayerName
Definition: symboleditorstate_drawcircle.h:95
bool processGraphicsSceneMouseMoved(QGraphicsSceneMouseEvent &e) noexceptoverride
Definition: symboleditorstate_drawcircle.cpp:127
SymbolEditorState_DrawCircle & operator=(const SymbolEditorState_DrawCircle &rhs)=delete
bool startAddCircle(const Point &pos) noexcept
Definition: symboleditorstate_drawcircle.cpp:161
bool updateCircleDiameter(const Point &pos) noexcept
Definition: symboleditorstate_drawcircle.cpp:184
type_safe::constrained_type< Length, UnsignedLengthConstraint, UnsignedLengthVerifier > UnsignedLength
Definition: length.h:659