20#ifndef LIBREPCB_EDITOR_BOARDEDITORSTATE_DRAWPLANE_H
21#define LIBREPCB_EDITOR_BOARDEDITORSTATE_DRAWPLANE_H
44class CmdBoardPlaneEdit;
65 virtual
bool entry() noexcept override;
66 virtual
bool exit() noexcept override;
71 QGraphicsSceneMouseEvent& e) noexcept override;
73 QGraphicsSceneMouseEvent& e) noexcept override;
75 QGraphicsSceneMouseEvent& e) noexcept override;
The BI_Plane class.
Definition: bi_plane.h:52
The Layer class provides all supported geometry layers.
Definition: layer.h:42
The NetSignal class.
Definition: netsignal.h:50
The Point class is used to represent a point/coordinate/vector, for example (1.2mm; 5....
Definition: point.h:79
The "draw plane" state/tool of the board editor.
Definition: boardeditorstate_drawplane.h:54
virtual bool processGraphicsSceneMouseMoved(QGraphicsSceneMouseEvent &e) noexcept override
Definition: boardeditorstate_drawplane.cpp:162
virtual ~BoardEditorState_DrawPlane() noexcept
Definition: boardeditorstate_drawplane.cpp:64
void layerComboBoxLayerChanged(const Layer &layer) noexcept
Definition: boardeditorstate_drawplane.cpp:306
BoardEditorState_DrawPlane()=delete
const Layer * mLastLayer
Definition: boardeditorstate_drawplane.h:94
Point mLastVertexPos
Definition: boardeditorstate_drawplane.h:95
NetSignal * mLastNetSignal
Definition: boardeditorstate_drawplane.h:93
virtual bool processSwitchToBoard(int index) noexcept override
Definition: boardeditorstate_drawplane.cpp:185
QScopedPointer< CmdBoardPlaneEdit > mCurrentPlaneEditCmd
Definition: boardeditorstate_drawplane.h:100
virtual bool processAbortCommand() noexcept override
Definition: boardeditorstate_drawplane.cpp:152
bool abortCommand(bool showErrMsgBox) noexcept
Definition: boardeditorstate_drawplane.cpp:284
void setNetSignal(NetSignal *netsignal) noexcept
Definition: boardeditorstate_drawplane.cpp:277
BI_Plane * mCurrentPlane
Definition: boardeditorstate_drawplane.h:99
bool mIsUndoCmdActive
Definition: boardeditorstate_drawplane.h:92
virtual bool exit() noexcept override
Definition: boardeditorstate_drawplane.cpp:137
bool startAddPlane(const Point &pos) noexcept
Definition: boardeditorstate_drawplane.cpp:194
bool addSegment(const Point &pos) noexcept
Definition: boardeditorstate_drawplane.cpp:226
BoardEditorState_DrawPlane(const BoardEditorState_DrawPlane &other)=delete
virtual bool processGraphicsSceneLeftMouseButtonPressed(QGraphicsSceneMouseEvent &e) noexcept override
Definition: boardeditorstate_drawplane.cpp:168
bool updateLastVertexPosition(const Point &pos) noexcept
Definition: boardeditorstate_drawplane.cpp:265
virtual bool entry() noexcept override
Definition: boardeditorstate_drawplane.cpp:71
virtual bool processGraphicsSceneLeftMouseButtonDoubleClicked(QGraphicsSceneMouseEvent &e) noexcept override
Definition: boardeditorstate_drawplane.cpp:180
The board editor state base class.
Definition: boardeditorstate.h:59
The CmdBoardPlaneEdit class.
Definition: cmdboardplaneedit.h:50
Definition: occmodel.cpp:77
FSM Context.
Definition: boardeditorfsm.h:88