![]() |
LibrePCB Developers Documentation
|
The "add via" state/tool of the board editor. More...
#include <boardeditorstate_addpad.h>
Inheritance diagram for BoardEditorState_AddPad:
Collaboration diagram for BoardEditorState_AddPad:Public Types | |
| enum class | PadType |
Public Types inherited from BoardEditorState | |
| enum class | FindFlag : uint32_t |
| using | Context = BoardEditorFsm::Context |
Signals | |
| void | netChanged (const std::optional< Uuid > &net) |
| void | componentSideChanged (Pad::ComponentSide side) |
| void | shapeChanged (Pad::Shape shape) |
| void | widthChanged (const PositiveLength &width) |
| void | heightChanged (const PositiveLength &height) |
| void | radiusChanged (const UnsignedLimitedRatio &radius) |
| void | drillDiameterChanged (const PositiveLength &diameter) |
| void | copperClearanceChanged (const UnsignedLength &clearance) |
| void | stopMaskConfigChanged (const MaskConfig &cfg) |
| void | functionChanged (Pad::Function function) |
Signals inherited from BoardEditorState | |
| void | requestLeavingState () |
| Signal to indicate that the current tool should be exited. | |
Public Member Functions | |
| BoardEditorState_AddPad ()=delete | |
| BoardEditorState_AddPad (const BoardEditorState_AddPad &other)=delete | |
| BoardEditorState_AddPad (const Context &context, PadType type, Pad::Function function) noexcept | |
| virtual | ~BoardEditorState_AddPad () noexcept |
| virtual bool | entry () noexcept override |
| virtual bool | exit () 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 |
| virtual bool | processGraphicsSceneRightMouseButtonReleased (const GraphicsSceneMouseEvent &e) noexcept override |
| virtual bool | processRotate (const Angle &rotation) noexcept override |
| PadType | getType () const noexcept |
| QVector< std::pair< Uuid, QString > > | getAvailableNets () const noexcept |
| std::optional< Uuid > | getNet () const noexcept |
| void | setNet (const std::optional< Uuid > &net) noexcept |
| Pad::ComponentSide | getComponentSide () const noexcept |
| void | setComponentSide (Pad::ComponentSide side) noexcept |
| Pad::Shape | getShape () const noexcept |
| void | setShape (Pad::Shape shape) noexcept |
| const PositiveLength & | getWidth () const noexcept |
| void | setWidth (const PositiveLength &width) noexcept |
| const PositiveLength & | getHeight () const noexcept |
| void | setHeight (const PositiveLength &height) noexcept |
| const UnsignedLimitedRatio & | getRadius () const noexcept |
| void | setRadius (const UnsignedLimitedRatio &radius) noexcept |
| std::optional< PositiveLength > | getDrillDiameter () const noexcept |
| void | setDrillDiameter (const PositiveLength &diameter) noexcept |
| const UnsignedLength & | getCopperClearance () const noexcept |
| void | setCopperClearance (const UnsignedLength &clearance) noexcept |
| const MaskConfig & | getStopMaskConfig () const noexcept |
| void | setStopMaskConfig (const MaskConfig &cfg) noexcept |
| Pad::Function | getFunction () const noexcept |
| bool | getFunctionIsFiducial () const noexcept |
| void | setFunction (Pad::Function function) noexcept |
| BoardEditorState_AddPad & | operator= (const BoardEditorState_AddPad &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 | 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 | processAbortCommand () noexcept |
| virtual bool | processKeyPressed (const GraphicsSceneKeyEvent &e) noexcept |
| virtual bool | processKeyReleased (const GraphicsSceneKeyEvent &e) noexcept |
| virtual bool | processGraphicsSceneLeftMouseButtonReleased (const GraphicsSceneMouseEvent &e) noexcept |
| BoardEditorState & | operator= (const BoardEditorState &rhs)=delete |
Private Member Functions | |
| bool | start (const Point &pos) noexcept |
| bool | updatePosition (BoardGraphicsScene &scene, const Point &pos) noexcept |
| void | setNetSignal (NetSignal *netsignal) noexcept |
| bool | finish (const Point &pos) noexcept |
| bool | abortCommand (bool showErrMsgBox) noexcept |
| void | applySelectedNetSignal () noexcept |
| NetSignal * | getCurrentNetSignal () const noexcept |
| void | applyRecommendedRoundedRectRadius () noexcept |
| void | makePadLayerVisible () noexcept |
Private Attributes | |
| const PadType | mPadType |
| bool | mIsUndoCmdActive |
| BoardPadData | mCurrentProperties |
| std::optional< Uuid > | mCurrentNetSignal |
| The current net signal of the via. | |
| BI_Pad * | mCurrentPad |
| std::unique_ptr< CmdBoardPadEdit > | mCurrentEditCmd |
Additional Inherited Members | |
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 "add via" state/tool of the board editor.
|
strong |
|
delete |
|
delete |
|
explicitnoexcept |
|
virtualnoexcept |
|
overridevirtualnoexcept |
|
overridevirtualnoexcept |
|
overridevirtualnoexcept |
|
overridevirtualnoexcept |
|
overridevirtualnoexcept |
Reimplemented from BoardEditorState.
|
overridevirtualnoexcept |
|
overridevirtualnoexcept |
Reimplemented from BoardEditorState.
|
inlinenoexcept |
|
noexcept |
Here is the call graph for this function:
|
inlinenoexcept |
|
noexcept |
|
inlinenoexcept |
Here is the call graph for this function:
|
noexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the call graph for this function:
|
noexcept |
|
inlinenoexcept |
Here is the call graph for this function:
|
noexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the call graph for this function:
|
noexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the call graph for this function:
|
noexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the call graph for this function:
|
noexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the call graph for this function:
|
noexcept |
|
inlinenoexcept |
Here is the call graph for this function:
|
noexcept |
|
inlinenoexcept |
Here is the call graph for this function:
|
inlinenoexcept |
Here is the call graph for this function:
|
noexcept |
|
delete |
|
signal |
Here is the caller graph for this function:
|
signal |
Here is the caller graph for this function:
|
signal |
|
signal |
Here is the caller graph for this function:
|
signal |
Here is the caller graph for this function:
|
signal |
Here is the caller graph for this function:
|
signal |
Here is the caller graph for this function:
|
signal |
Here is the caller graph for this function:
|
signal |
|
signal |
Here is the caller graph for this function:
|
privatenoexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
privatenoexcept |
|
privatenoexcept |
|
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:
|
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:
|
privatenoexcept |
Here is the call graph for this function:
|
privatenoexcept |
Here is the call graph for this function:
|
private |
|
private |
|
private |
|
private |
The current net signal of the via.
|
private |
|
private |