20#ifndef LIBREPCB_EDITOR_SCHEMATICEDITORSTATE_ADDNETLABEL_H
21#define LIBREPCB_EDITOR_SCHEMATICEDITORSTATE_ADDNETLABEL_H
42class CmdSchematicNetLabelEdit;
63 virtual
bool entry() noexcept override;
64 virtual
bool exit() noexcept override;
68 QGraphicsSceneMouseEvent& e) noexcept override;
70 QGraphicsSceneMouseEvent& e) noexcept override;
72 QGraphicsSceneMouseEvent& e) noexcept override;
74 QGraphicsSceneMouseEvent& e) noexcept override;
77 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:51
virtual bool processGraphicsSceneMouseMoved(QGraphicsSceneMouseEvent &e) noexcept override
Definition schematiceditorstate_addnetlabel.cpp:86
bool fixLabel(const Point &pos) noexcept
Definition schematiceditorstate_addnetlabel.cpp:213
SchematicEditorState_AddNetLabel()=delete
bool mUndoCmdActive
Definition schematiceditorstate_addnetlabel.h:90
SI_NetLabel * mCurrentNetLabel
Definition schematiceditorstate_addnetlabel.h:91
bool addLabel(const Point &pos) noexcept
Definition schematiceditorstate_addnetlabel.cpp:165
virtual bool processRotate(const Angle &rotation) noexcept override
Definition schematiceditorstate_addnetlabel.cpp:141
SchematicEditorState_AddNetLabel(const SchematicEditorState_AddNetLabel &other)=delete
virtual ~SchematicEditorState_AddNetLabel() noexcept
Definition schematiceditorstate_addnetlabel.cpp:58
bool abortCommand(bool showErrMsgBox) noexcept
Definition schematiceditorstate_addnetlabel.cpp:230
virtual bool processSwitchToSchematicPage(int index) noexcept override
Definition schematiceditorstate_addnetlabel.cpp:135
virtual bool exit() noexcept override
Definition schematiceditorstate_addnetlabel.cpp:73
virtual bool processGraphicsSceneRightMouseButtonReleased(QGraphicsSceneMouseEvent &e) noexcept override
Definition schematiceditorstate_addnetlabel.cpp:119
virtual bool processMirror(Qt::Orientation orientation) noexcept override
Definition schematiceditorstate_addnetlabel.cpp:151
virtual bool processGraphicsSceneLeftMouseButtonPressed(QGraphicsSceneMouseEvent &e) noexcept override
Definition schematiceditorstate_addnetlabel.cpp:95
CmdSchematicNetLabelEdit * mEditCmd
Definition schematiceditorstate_addnetlabel.h:92
bool updateLabel(const Point &pos) noexcept
Definition schematiceditorstate_addnetlabel.cpp:204
virtual bool entry() noexcept override
Definition schematiceditorstate_addnetlabel.cpp:66
virtual bool processGraphicsSceneLeftMouseButtonDoubleClicked(QGraphicsSceneMouseEvent &e) noexcept override
Definition schematiceditorstate_addnetlabel.cpp:107
The schematic editor state base class.
Definition schematiceditorstate.h:57
Definition occmodel.cpp:76
FSM Context.
Definition schematiceditorfsm.h:81