20 #ifndef LIBREPCB_EDITOR_SCHEMATICEDITORSTATE_ADDNETLABEL_H 21 #define LIBREPCB_EDITOR_SCHEMATICEDITORSTATE_ADDNETLABEL_H 42 class 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;
virtual bool processGraphicsSceneMouseMoved(QGraphicsSceneMouseEvent &e) noexcept override
Definition: schematiceditorstate_addnetlabel.cpp:86
The schematic editor state base class.
Definition: schematiceditorstate.h:57
virtual bool processGraphicsSceneLeftMouseButtonPressed(QGraphicsSceneMouseEvent &e) noexcept override
Definition: schematiceditorstate_addnetlabel.cpp:95
The CmdSchematicNetLabelEdit class.
Definition: cmdschematicnetlabeledit.h:50
virtual bool exit() noexcept override
Definition: schematiceditorstate_addnetlabel.cpp:73
Definition: occmodel.cpp:77
virtual bool processSwitchToSchematicPage(int index) noexcept override
Definition: schematiceditorstate_addnetlabel.cpp:135
virtual ~SchematicEditorState_AddNetLabel() noexcept
Definition: schematiceditorstate_addnetlabel.cpp:58
bool addLabel(const Point &pos) noexcept
Definition: schematiceditorstate_addnetlabel.cpp:165
The Angle class is used to represent an angle (for example 12.75 degrees)
Definition: angle.h:78
bool mUndoCmdActive
Definition: schematiceditorstate_addnetlabel.h:90
The SchematicEditorState_AddNetLabel class.
Definition: schematiceditorstate_addnetlabel.h:51
bool updateLabel(const Point &pos) noexcept
Definition: schematiceditorstate_addnetlabel.cpp:204
SchematicEditorState_AddNetLabel()=delete
The Point class is used to represent a point/coordinate/vector, for example (1.2mm; 5...
Definition: point.h:79
bool abortCommand(bool showErrMsgBox) noexcept
Definition: schematiceditorstate_addnetlabel.cpp:230
virtual bool processRotate(const Angle &rotation) noexcept override
Definition: schematiceditorstate_addnetlabel.cpp:141
FSM Context.
Definition: schematiceditorfsm.h:81
CmdSchematicNetLabelEdit * mEditCmd
Definition: schematiceditorstate_addnetlabel.h:92
SchematicEditorState_AddNetLabel & operator=(const SchematicEditorState_AddNetLabel &rhs)=delete
virtual bool processGraphicsSceneLeftMouseButtonDoubleClicked(QGraphicsSceneMouseEvent &e) noexcept override
Definition: schematiceditorstate_addnetlabel.cpp:107
The SI_NetLabel class.
Definition: si_netlabel.h:49
SI_NetLabel * mCurrentNetLabel
Definition: schematiceditorstate_addnetlabel.h:91
bool fixLabel(const Point &pos) noexcept
Definition: schematiceditorstate_addnetlabel.cpp:213
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 entry() noexcept override
Definition: schematiceditorstate_addnetlabel.cpp:66