![]() |
LibrePCB Developers Documentation
|
The schematic editor state base class. More...
#include <schematiceditorstate.h>
Inheritance diagram for SchematicEditorState:
Collaboration diagram for SchematicEditorState:Public Types | |
| enum class | FindFlag |
| using | Context = SchematicEditorFsm::Context |
Signals | |
| void | requestLeavingState () |
| Signal to indicate that the current tool should be exited. | |
Public Member Functions | |
| SchematicEditorState ()=delete | |
| SchematicEditorState (const SchematicEditorState &other)=delete | |
| SchematicEditorState (const Context &context, QObject *parent=nullptr) noexcept | |
| virtual | ~SchematicEditorState () noexcept |
| virtual bool | entry () noexcept |
| virtual bool | exit () noexcept |
| virtual bool | processAddComponent (const QString &searchTerm=QString()) noexcept |
| virtual bool | processAddComponent (const Uuid &cmp, const Uuid &symbVar) noexcept |
| virtual bool | processSelectAll () noexcept |
| virtual bool | processCut () noexcept |
| virtual bool | processCopy () noexcept |
| virtual bool | processPaste () noexcept |
| virtual bool | processMove (const Point &delta) noexcept |
| virtual bool | processRotate (const Angle &rotation) noexcept |
| virtual bool | processMirror (Qt::Orientation orientation) noexcept |
| virtual bool | processSnapToGrid () noexcept |
| virtual bool | processResetAllTexts () noexcept |
| virtual bool | processRemove () noexcept |
| virtual bool | processEditProperties () noexcept |
| virtual bool | processAbortCommand () noexcept |
| virtual bool | processKeyPressed (const GraphicsSceneKeyEvent &e) noexcept |
| virtual bool | processKeyReleased (const GraphicsSceneKeyEvent &e) noexcept |
| virtual bool | processGraphicsSceneMouseMoved (const GraphicsSceneMouseEvent &e) noexcept |
| virtual bool | processGraphicsSceneLeftMouseButtonPressed (const GraphicsSceneMouseEvent &e) noexcept |
| virtual bool | processGraphicsSceneLeftMouseButtonReleased (const GraphicsSceneMouseEvent &e) noexcept |
| virtual bool | processGraphicsSceneLeftMouseButtonDoubleClicked (const GraphicsSceneMouseEvent &e) noexcept |
| virtual bool | processGraphicsSceneRightMouseButtonReleased (const GraphicsSceneMouseEvent &e) noexcept |
| SchematicEditorState & | operator= (const SchematicEditorState &rhs)=delete |
Protected Member Functions | |
| SchematicGraphicsScene * | getActiveSchematicScene () noexcept |
| PositiveLength | getGridInterval () const noexcept |
| const LengthUnit & | getLengthUnit () const noexcept |
| void | abortBlockingToolsInOtherEditors () noexcept |
| bool | execCmd (UndoCommand *cmd) |
| QWidget * | parentWidget () noexcept |
| QList< std::shared_ptr< QGraphicsItem > > | findItemsAtPos (const Point &pos, FindFlags flags, const QVector< std::shared_ptr< QGraphicsItem > > &except={}) noexcept |
| template<typename T = QGraphicsItem> | |
| std::shared_ptr< T > | findItemAtPos (const Point &pos, FindFlags flags, const QVector< std::shared_ptr< QGraphicsItem > > &except={}) noexcept |
Static Protected Member Functions | |
| static const QSet< const Layer * > & | getAllowedGeometryLayers () noexcept |
Protected Attributes | |
| Context | mContext |
| SchematicEditorFsmAdapter & | mAdapter |
The schematic editor state base class.
| using Context = SchematicEditorFsm::Context |
|
strong |
|
delete |
|
delete |
|
explicitnoexcept |
|
virtualnoexcept |
|
inlinevirtualnoexcept |
Reimplemented in SchematicEditorState_AddComponent, SchematicEditorState_AddNetLabel, SchematicEditorState_AddText, SchematicEditorState_DrawPolygon, SchematicEditorState_DrawWire, SchematicEditorState_Measure, and SchematicEditorState_Select.
Here is the caller graph for this function:
|
inlinevirtualnoexcept |
|
inlinevirtualnoexcept |
Reimplemented in SchematicEditorState_AddComponent.
Reimplemented in SchematicEditorState_AddComponent.
|
inlinevirtualnoexcept |
Reimplemented in SchematicEditorState_Select.
|
inlinevirtualnoexcept |
Reimplemented in SchematicEditorState_Select.
|
inlinevirtualnoexcept |
Reimplemented in SchematicEditorState_Measure, and SchematicEditorState_Select.
|
inlinevirtualnoexcept |
Reimplemented in SchematicEditorState_Select.
|
inlinevirtualnoexcept |
Reimplemented in SchematicEditorState_Select.
|
inlinevirtualnoexcept |
|
inlinevirtualnoexcept |
|
inlinevirtualnoexcept |
Reimplemented in SchematicEditorState_Select.
|
inlinevirtualnoexcept |
Reimplemented in SchematicEditorState_Select.
|
inlinevirtualnoexcept |
Reimplemented in SchematicEditorState_Measure, and SchematicEditorState_Select.
|
inlinevirtualnoexcept |
Reimplemented in SchematicEditorState_Select.
|
inlinevirtualnoexcept |
|
inlinevirtualnoexcept |
Reimplemented in SchematicEditorState_DrawWire, and SchematicEditorState_Measure.
|
inlinevirtualnoexcept |
Reimplemented in SchematicEditorState_DrawWire, and SchematicEditorState_Measure.
|
inlinevirtualnoexcept |
|
inlinevirtualnoexcept |
|
inlinevirtualnoexcept |
Reimplemented in SchematicEditorState_Select.
|
inlinevirtualnoexcept |
|
inlinevirtualnoexcept |
|
delete |
|
signal |
Signal to indicate that the current tool should be exited.
This signal can be emitted by each state to signalize the FSM to leave the current state and entering the select tool.
Here is the caller graph for this function:
|
protectednoexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
protectednoexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
protectednoexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
staticprotectednoexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
protectednoexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Here is the call graph for this function:
Here is the caller graph for this function:
|
protectednoexcept |
Here is the caller graph for this function:
|
protectednoexcept |
Here is the call graph for this function:
|
inlineprotectednoexcept |
|
protected |
|
protected |