20#ifndef LIBREPCB_EDITOR_BOARDEDITORSTATE_DRAWPLANE_H
21#define LIBREPCB_EDITOR_BOARDEDITORSTATE_DRAWPLANE_H
46class CmdBoardPlaneEdit;
67 virtual
bool entry() noexcept override;
68 virtual
bool exit() noexcept override;
73 QGraphicsSceneMouseEvent& e) noexcept override;
75 QGraphicsSceneMouseEvent& e) noexcept override;
77 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:78
The "draw plane" state/tool of the board editor.
Definition boardeditorstate_drawplane.h:56
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:96
Point mLastVertexPos
Definition boardeditorstate_drawplane.h:97
NetSignal * mLastNetSignal
Definition boardeditorstate_drawplane.h:95
virtual bool processSwitchToBoard(int index) noexcept override
Definition boardeditorstate_drawplane.cpp:185
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:101
bool mIsUndoCmdActive
Definition boardeditorstate_drawplane.h:94
std::unique_ptr< CmdBoardPlaneEdit > mCurrentPlaneEditCmd
Definition boardeditorstate_drawplane.h:102
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:76
FSM Context.
Definition boardeditorfsm.h:88