LibrePCB Developers Documentation
|
The PackageEditorState_AddPads class. More...
#include <packageeditorstate_addpads.h>
Public Types | |
enum class | PadType |
Public Types inherited from PackageEditorState | |
using | Context = PackageEditorFsm::Context |
Signals | |
void | requestRadiusInputEnabled (bool enabled) |
void | requestRadius (const UnsignedLimitedRatio &radius) |
Signals inherited from PackageEditorState | |
void | abortRequested () |
void | availableFeaturesChanged () |
void | statusBarMessageChanged (const QString &message, int timeoutMs=-1) |
Public Member Functions | |
PackageEditorState_AddPads ()=delete | |
PackageEditorState_AddPads (const PackageEditorState_AddPads &other)=delete | |
PackageEditorState_AddPads (Context &context, PadType type, FootprintPad::Function function) noexcept | |
virtual | ~PackageEditorState_AddPads () noexcept |
virtual bool | entry () noexcept override |
virtual bool | exit () noexcept override |
QSet< EditorWidgetBase::Feature > | getAvailableFeatures () const noexcept override |
virtual bool | processGraphicsSceneMouseMoved (QGraphicsSceneMouseEvent &e) noexcept override |
virtual bool | processGraphicsSceneLeftMouseButtonPressed (QGraphicsSceneMouseEvent &e) noexcept override |
virtual bool | processGraphicsSceneRightMouseButtonReleased (QGraphicsSceneMouseEvent &e) noexcept override |
virtual bool | processRotate (const Angle &rotation) noexcept override |
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 | entry () noexcept |
virtual bool | exit () noexcept |
virtual QSet< EditorWidgetBase::Feature > | getAvailableFeatures () const noexcept=0 |
virtual bool | processKeyPressed (const QKeyEvent &e) noexcept |
virtual bool | processKeyReleased (const QKeyEvent &e) noexcept |
virtual bool | processGraphicsSceneMouseMoved (QGraphicsSceneMouseEvent &e) noexcept |
virtual bool | processGraphicsSceneLeftMouseButtonPressed (QGraphicsSceneMouseEvent &e) noexcept |
virtual bool | processGraphicsSceneLeftMouseButtonReleased (QGraphicsSceneMouseEvent &e) noexcept |
virtual bool | processGraphicsSceneLeftMouseButtonDoubleClicked (QGraphicsSceneMouseEvent &e) noexcept |
virtual bool | processGraphicsSceneRightMouseButtonReleased (QGraphicsSceneMouseEvent &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 | processRotate (const Angle &rotation) noexcept |
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 | processAbortCommand () 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 | selectNextFreePadInComboBox () noexcept |
void | packagePadComboBoxCurrentPadChanged (tl::optional< Uuid > pad) noexcept |
void | boardSideSelectorCurrentSideChanged (FootprintPad::ComponentSide side) noexcept |
void | shapeSelectorCurrentShapeChanged (FootprintPad::Shape shape, const UnsignedLimitedRatio &radius, bool customRadius) noexcept |
void | widthEditValueChanged (const PositiveLength &value) noexcept |
void | heightEditValueChanged (const PositiveLength &value) noexcept |
void | drillDiameterEditValueChanged (const PositiveLength &value) noexcept |
void | fiducialClearanceEditValueChanged (const UnsignedLength &value) noexcept |
void | radiusEditValueChanged (const UnsignedLimitedRatio &value) noexcept |
void | pressFitCheckedChanged (bool value) noexcept |
void | applyRecommendedRoundedRectRadius () noexcept |
Private Attributes | |
PadType | mPadType |
QScopedPointer< CmdFootprintPadEdit > | mEditCmd |
std::shared_ptr< FootprintPad > | mCurrentPad |
std::shared_ptr< FootprintPadGraphicsItem > | mCurrentGraphicsItem |
PackagePadComboBox * | mPackagePadComboBox |
FootprintPad | mLastPad |
Additional Inherited Members | |
Protected Member Functions inherited from PackageEditorState | |
const PositiveLength & | getGridInterval () const noexcept |
const LengthUnit & | getLengthUnit () const 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 |
The PackageEditorState_AddPads class.
|
strong |
|
delete |
|
delete |
|
explicitnoexcept |
|
virtualnoexcept |
|
overridevirtualnoexcept |
|
overridevirtualnoexcept |
Reimplemented from PackageEditorState.
|
overridevirtualnoexcept |
Implements PackageEditorState.
|
overridevirtualnoexcept |
|
overridevirtualnoexcept |
|
overridevirtualnoexcept |
Reimplemented from PackageEditorState.
|
overridevirtualnoexcept |
Reimplemented from PackageEditorState.
|
delete |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
signal |
|
signal |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |