![]() |
LibrePCB Developers Documentation
|
The PackageEditorState_AddPads class. More...
#include <packageeditorstate_addpads.h>
Inheritance diagram for PackageEditorState_AddPads:
Collaboration diagram for PackageEditorState_AddPads:Public Types | |
| enum class | PadType |
Public Types inherited from PackageEditorState | |
| using | Context = PackageEditorFsm::Context |
Signals | |
| void | packagePadChanged (const std::optional< Uuid > &pad) |
| 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 PackageEditorState | |
| void | abortRequested () |
Public Member Functions | |
| PackageEditorState_AddPads ()=delete | |
| PackageEditorState_AddPads (const PackageEditorState_AddPads &other)=delete | |
| PackageEditorState_AddPads (Context &context, PadType type, Pad::Function function) noexcept | |
| virtual | ~PackageEditorState_AddPads () 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 | processGraphicsSceneRightMouseButtonReleased (const GraphicsSceneMouseEvent &e) noexcept override |
| virtual bool | processRotate (const Angle &rotation) noexcept override |
| PadType | getType () const noexcept |
| const std::optional< Uuid > & | getPackagePad () const noexcept |
| void | setPackagePad (const std::optional< Uuid > &pad) 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 |
| PackageEditorState_AddPads & | operator= (const PackageEditorState_AddPads &rhs)=delete |
Public Member Functions inherited from PackageEditorState | |
| PackageEditorState ()=delete | |
| PackageEditorState (const PackageEditorState &other)=delete | |
| PackageEditorState (Context &context) noexcept | |
| virtual | ~PackageEditorState () noexcept |
| virtual bool | processKeyPressed (const GraphicsSceneKeyEvent &e) noexcept |
| virtual bool | processKeyReleased (const GraphicsSceneKeyEvent &e) noexcept |
| virtual bool | processGraphicsSceneLeftMouseButtonReleased (const GraphicsSceneMouseEvent &e) noexcept |
| virtual bool | processGraphicsSceneLeftMouseButtonDoubleClicked (const GraphicsSceneMouseEvent &e) noexcept |
| virtual bool | processSelectAll () noexcept |
| virtual bool | processCut () noexcept |
| virtual bool | processCopy () noexcept |
| virtual bool | processPaste () noexcept |
| virtual bool | processMove (const Point &delta) |
| virtual bool | processMirror (Qt::Orientation orientation) noexcept |
| virtual bool | processMoveAlign () noexcept |
| virtual bool | processSnapToGrid () noexcept |
| virtual bool | processFlip (Qt::Orientation orientation) noexcept |
| virtual bool | processRemove () noexcept |
| virtual bool | processEditProperties () noexcept |
| virtual bool | processGenerateOutline () noexcept |
| virtual bool | processGenerateCourtyard () noexcept |
| virtual bool | processImportDxf () noexcept |
| virtual bool | processAcceptCommand () noexcept |
| virtual bool | processAbortCommand () noexcept |
| virtual bool | processGridIntervalChanged (const PositiveLength &interval) noexcept |
| PackageEditorState & | operator= (const PackageEditorState &rhs)=delete |
Private Member Functions | |
| bool | startAddPad (const Point &pos) noexcept |
| bool | finishAddPad (const Point &pos) noexcept |
| bool | abortAddPad () noexcept |
| void | selectNextFreePackagePad () noexcept |
| void | applyRecommendedRoundedRectRadius () noexcept |
Private Attributes | |
| const PadType | mPadType |
| FootprintPad | mCurrentProperties |
| std::shared_ptr< FootprintPad > | mCurrentPad |
| std::shared_ptr< FootprintPadGraphicsItem > | mCurrentGraphicsItem |
| std::unique_ptr< CmdFootprintPadEdit > | mCurrentEditCmd |
Additional Inherited Members | |
Protected Member Functions inherited from PackageEditorState | |
| GraphicsScene * | getGraphicsScene () noexcept |
| PositiveLength | getGridInterval () const noexcept |
| const LengthUnit & | getLengthUnit () const noexcept |
| QWidget * | parentWidget () noexcept |
Static Protected Member Functions inherited from PackageEditorState | |
| static const QSet< const Layer * > & | getAllowedTextLayers () noexcept |
| static const QSet< const Layer * > & | getAllowedCircleAndPolygonLayers () noexcept |
Protected Attributes inherited from PackageEditorState | |
| Context & | mContext |
| PackageEditorFsmAdapter & | mAdapter |
The PackageEditorState_AddPads class.
|
strong |
|
delete |
|
delete |
|
explicitnoexcept |
|
virtualnoexcept |
|
overridevirtualnoexcept |
|
overridevirtualnoexcept |
|
overridevirtualnoexcept |
|
overridevirtualnoexcept |
|
overridevirtualnoexcept |
|
overridevirtualnoexcept |
Reimplemented from PackageEditorState.
|
inlinenoexcept |
|
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 |
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 |
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:
Here is the caller graph for this function:
|
privatenoexcept |
Here is the call graph for this function:
|
private |
|
private |
|
private |
|
private |
|
private |