The PackageEditorFsm class is the finit state machine (FSM) of the package editor.
More...
#include <packageeditorfsm.h>
Inherits QObject.
The PackageEditorFsm class is the finit state machine (FSM) of the package editor.
◆ State
Enumerator |
---|
IDLE | |
SELECT | |
ADD_THT_PADS | |
ADD_SMT_PADS_STANDARD | |
ADD_SMT_PADS_THERMAL | |
ADD_SMT_PADS_BGA | |
ADD_SMT_PADS_EDGE_CONNECTOR | |
ADD_SMT_PADS_TEST | |
ADD_SMT_PADS_LOCAL_FIDUCIAL | |
ADD_SMT_PADS_GLOBAL_FIDUCIAL | |
ADD_NAMES | |
ADD_VALUES | |
DRAW_LINE | |
DRAW_ARC | |
DRAW_RECT | |
DRAW_POLYGON | |
DRAW_CIRCLE | |
DRAW_TEXT | |
DRAW_ZONE | |
ADD_HOLES | |
MEASURE | |
RENUMBER_PADS | |
◆ PackageEditorFsm() [1/3]
◆ PackageEditorFsm() [2/3]
◆ PackageEditorFsm() [3/3]
◆ ~PackageEditorFsm()
◆ getCurrentTool()
◆ getCurrentFootprint()
std::shared_ptr< Footprint > getCurrentFootprint |
( |
| ) |
const |
|
noexcept |
◆ getAvailableFeatures()
◆ updateAvailableFeatures()
void updateAvailableFeatures |
( |
| ) |
|
|
noexcept |
◆ processChangeCurrentFootprint()
bool processChangeCurrentFootprint |
( |
const std::shared_ptr< Footprint > & |
fpt | ) |
|
|
noexcept |
◆ processKeyPressed()
bool processKeyPressed |
( |
const QKeyEvent & |
e | ) |
|
|
noexcept |
◆ processKeyReleased()
bool processKeyReleased |
( |
const QKeyEvent & |
e | ) |
|
|
noexcept |
◆ processGraphicsSceneMouseMoved()
bool processGraphicsSceneMouseMoved |
( |
QGraphicsSceneMouseEvent & |
e | ) |
|
|
noexcept |
◆ processGraphicsSceneLeftMouseButtonPressed()
bool processGraphicsSceneLeftMouseButtonPressed |
( |
QGraphicsSceneMouseEvent & |
e | ) |
|
|
noexcept |
◆ processGraphicsSceneLeftMouseButtonReleased()
bool processGraphicsSceneLeftMouseButtonReleased |
( |
QGraphicsSceneMouseEvent & |
e | ) |
|
|
noexcept |
◆ processGraphicsSceneLeftMouseButtonDoubleClicked()
bool processGraphicsSceneLeftMouseButtonDoubleClicked |
( |
QGraphicsSceneMouseEvent & |
e | ) |
|
|
noexcept |
◆ processGraphicsSceneRightMouseButtonReleased()
bool processGraphicsSceneRightMouseButtonReleased |
( |
QGraphicsSceneMouseEvent & |
e | ) |
|
|
noexcept |
◆ processSelectAll()
bool processSelectAll |
( |
| ) |
|
|
noexcept |
◆ processCut()
◆ processCopy()
◆ processPaste()
◆ processMove()
bool processMove |
( |
const Point & |
delta | ) |
|
|
noexcept |
◆ processRotate()
bool processRotate |
( |
const Angle & |
rotation | ) |
|
|
noexcept |
◆ processMirror()
bool processMirror |
( |
Qt::Orientation |
orientation | ) |
|
|
noexcept |
◆ processFlip()
bool processFlip |
( |
Qt::Orientation |
orientation | ) |
|
|
noexcept |
◆ processMoveAlign()
bool processMoveAlign |
( |
| ) |
|
|
noexcept |
◆ processSnapToGrid()
bool processSnapToGrid |
( |
| ) |
|
|
noexcept |
◆ processRemove()
◆ processEditProperties()
bool processEditProperties |
( |
| ) |
|
|
noexcept |
◆ processGenerateOutline()
bool processGenerateOutline |
( |
| ) |
|
|
noexcept |
◆ processGenerateCourtyard()
bool processGenerateCourtyard |
( |
| ) |
|
|
noexcept |
◆ processAbortCommand()
bool processAbortCommand |
( |
| ) |
|
|
noexcept |
◆ processStartSelecting()
bool processStartSelecting |
( |
| ) |
|
|
noexcept |
◆ processStartAddingFootprintThtPads()
bool processStartAddingFootprintThtPads |
( |
| ) |
|
|
noexcept |
◆ processStartAddingFootprintSmtPads()
◆ processStartAddingNames()
bool processStartAddingNames |
( |
| ) |
|
|
noexcept |
◆ processStartAddingValues()
bool processStartAddingValues |
( |
| ) |
|
|
noexcept |
◆ processStartDrawLines()
bool processStartDrawLines |
( |
| ) |
|
|
noexcept |
◆ processStartDrawArcs()
bool processStartDrawArcs |
( |
| ) |
|
|
noexcept |
◆ processStartDrawRects()
bool processStartDrawRects |
( |
| ) |
|
|
noexcept |
◆ processStartDrawPolygons()
bool processStartDrawPolygons |
( |
| ) |
|
|
noexcept |
◆ processStartDrawCircles()
bool processStartDrawCircles |
( |
| ) |
|
|
noexcept |
◆ processStartDrawTexts()
bool processStartDrawTexts |
( |
| ) |
|
|
noexcept |
◆ processStartDrawZones()
bool processStartDrawZones |
( |
| ) |
|
|
noexcept |
◆ processStartAddingHoles()
bool processStartAddingHoles |
( |
| ) |
|
|
noexcept |
◆ processStartDxfImport()
bool processStartDxfImport |
( |
| ) |
|
|
noexcept |
◆ processStartMeasure()
bool processStartMeasure |
( |
| ) |
|
|
noexcept |
◆ processStartReNumberPads()
bool processStartReNumberPads |
( |
| ) |
|
|
noexcept |
◆ operator=()
◆ toolChanged
◆ availableFeaturesChanged
void availableFeaturesChanged |
( |
| ) |
|
|
signal |
◆ statusBarMessageChanged
void statusBarMessageChanged |
( |
const QString & |
message, |
|
|
int |
timeoutMs = -1 |
|
) |
| |
|
signal |
◆ getCurrentState()
◆ setNextState()
bool setNextState |
( |
State |
state | ) |
|
|
privatenoexcept |
◆ leaveCurrentState()
bool leaveCurrentState |
( |
| ) |
|
|
privatenoexcept |
◆ enterNextState()
bool enterNextState |
( |
State |
state | ) |
|
|
privatenoexcept |
◆ switchToPreviousState()
bool switchToPreviousState |
( |
| ) |
|
|
privatenoexcept |
◆ mContext
◆ mStates
◆ mCurrentState
◆ mPreviousState
◆ mSelectFootprintGraphicsItem
◆ mAvailableFeatures
The documentation for this class was generated from the following files: