LibrePCB Developers Documentation
|
The SymbolEditorState_AddPins class. More...
#include <symboleditorstate_addpins.h>
Public Member Functions | |
SymbolEditorState_AddPins ()=delete | |
SymbolEditorState_AddPins (const SymbolEditorState_AddPins &other)=delete | |
SymbolEditorState_AddPins (const Context &context) noexcept | |
~SymbolEditorState_AddPins () 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 |
bool | processGraphicsSceneRightMouseButtonReleased (QGraphicsSceneMouseEvent &e) noexcept override |
bool | processRotate (const Angle &rotation) noexcept override |
bool | processMirror (Qt::Orientation orientation) noexcept override |
SymbolEditorState_AddPins & | operator= (const SymbolEditorState_AddPins &rhs)=delete |
Public Member Functions inherited from SymbolEditorState | |
SymbolEditorState ()=delete | |
SymbolEditorState (const SymbolEditorState &other)=delete | |
SymbolEditorState (const Context &context) noexcept | |
virtual | ~SymbolEditorState () noexcept |
std::unique_ptr< SymbolClipboardData > | takeDataToPaste () 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 | processSelectAll () noexcept |
virtual bool | processCut () noexcept |
virtual bool | processCopy () noexcept |
virtual bool | processPaste (std::unique_ptr< SymbolClipboardData > data=nullptr) noexcept |
virtual bool | processMove (const Point &delta) |
virtual bool | processSnapToGrid () noexcept |
virtual bool | processRemove () noexcept |
virtual bool | processEditProperties () noexcept |
virtual bool | processImportDxf () noexcept |
virtual bool | processAbortCommand () noexcept |
SymbolEditorState & | operator= (const SymbolEditorState &rhs)=delete |
Private Member Functions | |
bool | addNextPin (const Point &pos) noexcept |
void | nameLineEditTextChanged (const QString &text) noexcept |
void | lengthEditValueChanged (const UnsignedLength &value) noexcept |
void | execMassImport () noexcept |
QString | determineNextPinName () const noexcept |
bool | hasPin (const QString &name) const noexcept |
Private Attributes | |
std::shared_ptr< SymbolPin > | mCurrentPin |
std::shared_ptr< SymbolPinGraphicsItem > | mCurrentGraphicsItem |
std::unique_ptr< CmdSymbolPinEdit > | mEditCmd |
QLineEdit * | mNameLineEdit |
Angle | mLastRotation |
UnsignedLength | mLastLength |
Additional Inherited Members | |
Public Types inherited from SymbolEditorState | |
using | Context = SymbolEditorFsm::Context |
Signals inherited from SymbolEditorState | |
void | availableFeaturesChanged () |
void | statusBarMessageChanged (const QString &message, int timeoutMs=-1) |
void | pasteRequested () |
Protected Member Functions inherited from SymbolEditorState | |
void | requestPaste (std::unique_ptr< SymbolClipboardData > data) noexcept |
const PositiveLength & | getGridInterval () const noexcept |
const LengthUnit & | getLengthUnit () const noexcept |
Static Protected Member Functions inherited from SymbolEditorState | |
static const QSet< const Layer * > & | getAllowedTextLayers () noexcept |
static const QSet< const Layer * > & | getAllowedCircleAndPolygonLayers () noexcept |
Protected Attributes inherited from SymbolEditorState | |
Context | mContext |
The SymbolEditorState_AddPins class.
|
delete |
|
delete |
|
explicitnoexcept |
|
noexcept |
|
overridevirtualnoexcept |
|
overridevirtualnoexcept |
|
overridevirtualnoexcept |
Implements SymbolEditorState.
|
overridevirtualnoexcept |
|
overridevirtualnoexcept |
|
overridevirtualnoexcept |
|
overridevirtualnoexcept |
Reimplemented from SymbolEditorState.
|
overridevirtualnoexcept |
Reimplemented from SymbolEditorState.
|
delete |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |