LibrePCB Developers Documentation
|
The PackageEditorState_AddHoles class. More...
#include <packageeditorstate_addholes.h>
Public Member Functions | |
PackageEditorState_AddHoles ()=delete | |
PackageEditorState_AddHoles (const PackageEditorState_AddHoles &other)=delete | |
PackageEditorState_AddHoles (Context &context) noexcept | |
~PackageEditorState_AddHoles () noexcept | |
bool | entry () noexcept override |
bool | exit () noexcept override |
QSet< EditorWidgetBase::Feature > | getAvailableFeatures () const noexcept override |
bool | processGraphicsSceneMouseMoved (QGraphicsSceneMouseEvent &e) noexcept override |
bool | processGraphicsSceneLeftMouseButtonPressed (QGraphicsSceneMouseEvent &e) noexcept override |
PackageEditorState_AddHoles & | operator= (const PackageEditorState_AddHoles &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 QKeyEvent &e) noexcept |
virtual bool | processKeyReleased (const QKeyEvent &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 | startAddHole (const Point &pos) noexcept |
bool | finishAddHole (const Point &pos) noexcept |
bool | abortAddHole () noexcept |
void | diameterEditValueChanged (const PositiveLength &value) noexcept |
Private Attributes | |
std::unique_ptr< CmdHoleEdit > | mEditCmd |
std::shared_ptr< Hole > | mCurrentHole |
std::shared_ptr< HoleGraphicsItem > | mCurrentGraphicsItem |
PositiveLength | mLastDiameter |
Additional Inherited Members | |
Public Types inherited from PackageEditorState | |
using | Context = PackageEditorFsm::Context |
Signals inherited from PackageEditorState | |
void | abortRequested () |
void | availableFeaturesChanged () |
void | statusBarMessageChanged (const QString &message, int timeoutMs=-1) |
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_AddHoles class.
|
delete |
|
delete |
|
explicitnoexcept |
|
noexcept |
|
overridevirtualnoexcept |
|
overridevirtualnoexcept |
|
overridevirtualnoexcept |
Implements PackageEditorState.
|
overridevirtualnoexcept |
|
overridevirtualnoexcept |
|
delete |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
private |
|
private |
|
private |
|
private |