20#ifndef LIBREPCB_EDITOR_SCHEMATICEDITORSTATE_ADDLABEL_H
21#define LIBREPCB_EDITOR_SCHEMATICEDITORSTATE_ADDLABEL_H
42class CmdSchematicBusLabelEdit;
43class CmdSchematicNetLabelEdit;
64 virtual
bool entry() noexcept override;
65 virtual
bool exit() noexcept override;
69 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_BusLabel class.
Definition si_buslabel.h:48
The SI_NetLabel class.
Definition si_netlabel.h:48
The CmdSchematicBusLabelEdit class.
Definition cmdschematicbuslabeledit.h:50
The CmdSchematicNetLabelEdit class.
Definition cmdschematicnetlabeledit.h:50
The SchematicEditorState_AddLabel class.
Definition schematiceditorstate_addlabel.h:52
CmdSchematicNetLabelEdit * mNetLabelEditCmd
Definition schematiceditorstate_addlabel.h:92
virtual bool processGraphicsSceneMouseMoved(const GraphicsSceneMouseEvent &e) noexcept override
Definition schematiceditorstate_addlabel.cpp:124
virtual bool processGraphicsSceneRightMouseButtonReleased(const GraphicsSceneMouseEvent &e) noexcept override
Definition schematiceditorstate_addlabel.cpp:149
SchematicEditorState_AddLabel(const SchematicEditorState_AddLabel &other)=delete
SI_BusLabel * mCurrentBusLabel
Definition schematiceditorstate_addlabel.h:93
virtual bool processGraphicsSceneLeftMouseButtonPressed(const GraphicsSceneMouseEvent &e) noexcept override
Definition schematiceditorstate_addlabel.cpp:129
SchematicEditorState_AddLabel()=delete
bool fixLabel(const Point &pos) noexcept
Definition schematiceditorstate_addlabel.cpp:238
bool mUndoCmdActive
Definition schematiceditorstate_addlabel.h:90
SI_NetLabel * mCurrentNetLabel
Definition schematiceditorstate_addlabel.h:91
bool addLabel(const Point &pos) noexcept
Definition schematiceditorstate_addlabel.cpp:172
virtual bool processRotate(const Angle &rotation) noexcept override
Definition schematiceditorstate_addlabel.cpp:96
virtual bool processGraphicsSceneLeftMouseButtonDoubleClicked(const GraphicsSceneMouseEvent &e) noexcept override
Definition schematiceditorstate_addlabel.cpp:139
bool abortCommand(bool showErrMsgBox) noexcept
Definition schematiceditorstate_addlabel.cpp:265
CmdSchematicBusLabelEdit * mBusLabelEditCmd
Definition schematiceditorstate_addlabel.h:94
virtual ~SchematicEditorState_AddLabel() noexcept
Definition schematiceditorstate_addlabel.cpp:64
virtual bool exit() noexcept override
Definition schematiceditorstate_addlabel.cpp:81
virtual bool processMirror(Qt::Orientation orientation) noexcept override
Definition schematiceditorstate_addlabel.cpp:109
bool updateLabel(const Point &pos) noexcept
Definition schematiceditorstate_addlabel.cpp:226
virtual bool entry() noexcept override
Definition schematiceditorstate_addlabel.cpp:72
The schematic editor state base class.
Definition schematiceditorstate.h:58
Definition occmodel.cpp:77
Definition graphicsscene.h:45
FSM Context.
Definition schematiceditorfsm.h:65