20#ifndef LIBREPCB_EDITOR_SCHEMATICEDITORSTATE_ADDNETLABEL_H
21#define LIBREPCB_EDITOR_SCHEMATICEDITORSTATE_ADDNETLABEL_H
41class CmdSchematicNetLabelEdit;
62 virtual
bool entry() noexcept override;
63 virtual
bool exit() noexcept override;
67 virtual
bool processMirror(Qt::Orientation orientation) noexcept override;
The Angle class is used to represent an angle (for example 12.75 degrees)
Definition angle.h:76
The Point class is used to represent a point/coordinate/vector, for example (1.2mm; 5....
Definition point.h:78
The SI_NetLabel class.
Definition si_netlabel.h:49
The CmdSchematicNetLabelEdit class.
Definition cmdschematicnetlabeledit.h:50
The SchematicEditorState_AddNetLabel class.
Definition schematiceditorstate_addnetlabel.h:50
virtual bool processGraphicsSceneMouseMoved(const GraphicsSceneMouseEvent &e) noexcept override
Definition schematiceditorstate_addnetlabel.cpp:108
virtual bool processGraphicsSceneRightMouseButtonReleased(const GraphicsSceneMouseEvent &e) noexcept override
Definition schematiceditorstate_addnetlabel.cpp:134
virtual bool processGraphicsSceneLeftMouseButtonPressed(const GraphicsSceneMouseEvent &e) noexcept override
Definition schematiceditorstate_addnetlabel.cpp:114
bool fixLabel(const Point &pos) noexcept
Definition schematiceditorstate_addnetlabel.cpp:203
SchematicEditorState_AddNetLabel()=delete
bool mUndoCmdActive
Definition schematiceditorstate_addnetlabel.h:88
SI_NetLabel * mCurrentNetLabel
Definition schematiceditorstate_addnetlabel.h:89
bool addLabel(const Point &pos) noexcept
Definition schematiceditorstate_addnetlabel.cpp:153
virtual bool processRotate(const Angle &rotation) noexcept override
Definition schematiceditorstate_addnetlabel.cpp:88
SchematicEditorState_AddNetLabel(const SchematicEditorState_AddNetLabel &other)=delete
virtual bool processGraphicsSceneLeftMouseButtonDoubleClicked(const GraphicsSceneMouseEvent &e) noexcept override
Definition schematiceditorstate_addnetlabel.cpp:124
virtual ~SchematicEditorState_AddNetLabel() noexcept
Definition schematiceditorstate_addnetlabel.cpp:56
bool abortCommand(bool showErrMsgBox) noexcept
Definition schematiceditorstate_addnetlabel.cpp:221
virtual bool exit() noexcept override
Definition schematiceditorstate_addnetlabel.cpp:73
virtual bool processMirror(Qt::Orientation orientation) noexcept override
Definition schematiceditorstate_addnetlabel.cpp:98
CmdSchematicNetLabelEdit * mEditCmd
Definition schematiceditorstate_addnetlabel.h:90
bool updateLabel(const Point &pos) noexcept
Definition schematiceditorstate_addnetlabel.cpp:194
virtual bool entry() noexcept override
Definition schematiceditorstate_addnetlabel.cpp:64
The schematic editor state base class.
Definition schematiceditorstate.h:58
Definition occmodel.cpp:77
Definition graphicsscene.h:45
FSM Context.
Definition schematiceditorfsm.h:62