![]() |
LibrePCB Developers Documentation
|
The "draw plane" state/tool of the board editor. More...
#include <boardeditorstate_drawplane.h>
Inheritance diagram for BoardEditorState_DrawPlane:
Collaboration diagram for BoardEditorState_DrawPlane:Signals | |
| void | netChanged (const std::optional< Uuid > &net) |
| void | layerChanged (const Layer &layer) |
Signals inherited from BoardEditorState | |
| void | requestLeavingState () |
| Signal to indicate that the current tool should be exited. | |
Public Member Functions | |
| BoardEditorState_DrawPlane ()=delete | |
| BoardEditorState_DrawPlane (const BoardEditorState_DrawPlane &other)=delete | |
| BoardEditorState_DrawPlane (const Context &context) noexcept | |
| virtual | ~BoardEditorState_DrawPlane () noexcept |
| virtual bool | entry () noexcept override |
| virtual bool | exit () noexcept override |
| virtual bool | processAbortCommand () noexcept override |
| virtual bool | processGraphicsSceneMouseMoved (const GraphicsSceneMouseEvent &e) noexcept override |
| virtual bool | processGraphicsSceneLeftMouseButtonPressed (const GraphicsSceneMouseEvent &e) noexcept override |
| virtual bool | processGraphicsSceneLeftMouseButtonDoubleClicked (const GraphicsSceneMouseEvent &e) noexcept override |
| QVector< std::pair< Uuid, QString > > | getAvailableNets () const noexcept |
| std::optional< Uuid > | getNet () const noexcept |
| void | setNet (const std::optional< Uuid > &net) noexcept |
| QSet< const Layer * > | getAvailableLayers () noexcept |
| const Layer & | getLayer () const noexcept |
| void | setLayer (const Layer &layer) noexcept |
| BoardEditorState_DrawPlane & | operator= (const BoardEditorState_DrawPlane &rhs)=delete |
Public Member Functions inherited from BoardEditorState | |
| BoardEditorState ()=delete | |
| BoardEditorState (const BoardEditorState &other)=delete | |
| BoardEditorState (const Context &context, QObject *parent=nullptr) noexcept | |
| virtual | ~BoardEditorState () noexcept |
| virtual bool | processAddDevice (ComponentInstance &component, const Uuid &device, const Uuid &footprint) noexcept |
| virtual bool | processImportDxf () noexcept |
| virtual bool | processSelectAll () noexcept |
| virtual bool | processCut () noexcept |
| virtual bool | processCopy () noexcept |
| virtual bool | processPaste () noexcept |
| virtual bool | processMove (const Point &delta) noexcept |
| virtual bool | processRotate (const Angle &rotation) noexcept |
| virtual bool | processFlip (Qt::Orientation orientation) noexcept |
| virtual bool | processSnapToGrid () noexcept |
| virtual bool | processSetLocked (bool locked) noexcept |
| virtual bool | processChangeLineWidth (int step) noexcept |
| virtual bool | processResetAllTexts () noexcept |
| virtual bool | processRemove () noexcept |
| virtual bool | processEditProperties () noexcept |
| virtual bool | processKeyPressed (const GraphicsSceneKeyEvent &e) noexcept |
| virtual bool | processKeyReleased (const GraphicsSceneKeyEvent &e) noexcept |
| virtual bool | processGraphicsSceneLeftMouseButtonReleased (const GraphicsSceneMouseEvent &e) noexcept |
| virtual bool | processGraphicsSceneRightMouseButtonReleased (const GraphicsSceneMouseEvent &e) noexcept |
| BoardEditorState & | operator= (const BoardEditorState &rhs)=delete |
Private Member Functions | |
| bool | startAddPlane (const Point &pos) noexcept |
| bool | addSegment (const Point &pos) noexcept |
| bool | updateLastVertexPosition (const Point &pos) noexcept |
| bool | abortCommand (bool showErrMsgBox) noexcept |
Private Attributes | |
| bool | mIsUndoCmdActive |
| bool | mAutoNetSignal |
| Point | mLastVertexPos |
| QPointer< NetSignal > | mCurrentNetSignal |
| const Layer * | mCurrentLayer |
| BI_Plane * | mCurrentPlane |
| std::unique_ptr< CmdBoardPlaneEdit > | mCurrentPlaneEditCmd |
Additional Inherited Members | |
Public Types inherited from BoardEditorState | |
| enum class | FindFlag : uint32_t |
| using | Context = BoardEditorFsm::Context |
Protected Member Functions inherited from BoardEditorState | |
| BoardGraphicsScene * | getActiveBoardScene () noexcept |
| bool | getIgnoreLocks () const noexcept |
| PositiveLength | getGridInterval () const noexcept |
| const LengthUnit & | getLengthUnit () const noexcept |
| QSet< const Layer * > | getAllowedGeometryLayers () noexcept |
| void | makeLayerVisible (const QString &layer) noexcept |
| void | abortBlockingToolsInOtherEditors () noexcept |
| bool | execCmd (UndoCommand *cmd) |
| QWidget * | parentWidget () noexcept |
| QList< std::shared_ptr< QGraphicsItem > > | findItemsAtPos (const Point &pos, FindFlags flags, const Layer *cuLayer=nullptr, const QSet< const NetSignal * > &netsignals={}, const QVector< std::shared_ptr< QGraphicsItem > > &except={}) noexcept |
| template<typename T = QGraphicsItem> | |
| std::shared_ptr< T > | findItemAtPos (const Point &pos, FindFlags flags, const Layer *cuLayer=nullptr, const QSet< const NetSignal * > &netsignals={}, const QVector< std::shared_ptr< QGraphicsItem > > &except={}) noexcept |
Protected Attributes inherited from BoardEditorState | |
| Context | mContext |
| BoardEditorFsmAdapter & | mAdapter |
The "draw plane" state/tool of the board editor.
|
delete |
|
delete |
|
explicitnoexcept |
|
virtualnoexcept |
|
overridevirtualnoexcept |
|
overridevirtualnoexcept |
|
overridevirtualnoexcept |
|
overridevirtualnoexcept |
|
overridevirtualnoexcept |
|
overridevirtualnoexcept |
Reimplemented from BoardEditorState.
|
noexcept |
Here is the call graph for this function:
|
noexcept |
|
noexcept |
|
noexcept |
Here is the call graph for this function:
|
inlinenoexcept |
|
noexcept |
Here is the caller graph for this function:
|
delete |
|
signal |
Here is the caller graph for this function:
|
privatenoexcept |
Here is the call graph for this function:
|
privatenoexcept |
Here is the call graph for this function:
|
privatenoexcept |
Here is the call graph for this function:
|
privatenoexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
signal |
Here is the caller graph for this function:
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |