![]() |
LibrePCB Developers Documentation
|
The "select" state/tool of the schematic editor (default state) More...
#include <schematiceditorstate_select.h>
Inheritance diagram for SchematicEditorState_Select:
Collaboration diagram for SchematicEditorState_Select:Public Member Functions | |
| SchematicEditorState_Select ()=delete | |
| SchematicEditorState_Select (const SchematicEditorState_Select &other)=delete | |
| SchematicEditorState_Select (const Context &context) noexcept | |
| virtual | ~SchematicEditorState_Select () noexcept |
| virtual bool | entry () noexcept override |
| virtual bool | exit () noexcept override |
| virtual bool | processSelectAll () noexcept override |
| virtual bool | processCut () noexcept override |
| virtual bool | processCopy () noexcept override |
| virtual bool | processPaste () noexcept override |
| virtual bool | processMove (const Point &delta) noexcept override |
| virtual bool | processRotate (const Angle &rotation) noexcept override |
| virtual bool | processMirror (Qt::Orientation orientation) noexcept override |
| virtual bool | processSnapToGrid () noexcept override |
| virtual bool | processResetAllTexts () noexcept override |
| virtual bool | processRemove () noexcept override |
| virtual bool | processEditProperties () noexcept override |
| virtual bool | processAbortCommand () noexcept override |
| virtual bool | processGraphicsSceneMouseMoved (const GraphicsSceneMouseEvent &e) noexcept override |
| virtual bool | processGraphicsSceneLeftMouseButtonPressed (const GraphicsSceneMouseEvent &e) noexcept override |
| virtual bool | processGraphicsSceneLeftMouseButtonReleased (const GraphicsSceneMouseEvent &e) noexcept override |
| virtual bool | processGraphicsSceneLeftMouseButtonDoubleClicked (const GraphicsSceneMouseEvent &e) noexcept override |
| virtual bool | processGraphicsSceneRightMouseButtonReleased (const GraphicsSceneMouseEvent &e) noexcept override |
| SchematicEditorState_Select & | operator= (const SchematicEditorState_Select &rhs)=delete |
Public Member Functions inherited from SchematicEditorState | |
| SchematicEditorState ()=delete | |
| SchematicEditorState (const SchematicEditorState &other)=delete | |
| SchematicEditorState (const Context &context, QObject *parent=nullptr) noexcept | |
| virtual | ~SchematicEditorState () noexcept |
| virtual bool | processAddComponent (const QString &searchTerm=QString()) noexcept |
| virtual bool | processAddComponent (const Uuid &cmp, const Uuid &symbVar) noexcept |
| virtual bool | processKeyPressed (const GraphicsSceneKeyEvent &e) noexcept |
| virtual bool | processKeyReleased (const GraphicsSceneKeyEvent &e) noexcept |
| SchematicEditorState & | operator= (const SchematicEditorState &rhs)=delete |
Private Types | |
| enum class | SubState |
| enum for all possible substates More... | |
Private Member Functions | |
| bool | startMovingSelectedItems (SchematicGraphicsScene &scene, const Point &startPos) noexcept |
| bool | moveSelectedItems (const Point &delta) noexcept |
| bool | rotateSelectedItems (const Angle &angle) noexcept |
| bool | mirrorSelectedItems (Qt::Orientation orientation) noexcept |
| bool | snapSelectedItemsToGrid () noexcept |
| bool | resetAllTextsOfSelectedItems () noexcept |
| bool | removeSelectedItems () noexcept |
| void | removePolygonVertices (Polygon &polygon, const QVector< int > vertices) noexcept |
| void | startAddingPolygonVertex (SI_Polygon &polygon, int vertex, const Point &pos) noexcept |
| bool | copySelectedItemsToClipboard () noexcept |
| bool | pasteFromClipboard () noexcept |
| bool | findPolygonVerticesAtPosition (const Point &pos) noexcept |
| bool | openPropertiesDialog (std::shared_ptr< QGraphicsItem > item) noexcept |
| void | openSymbolPropertiesDialog (SI_Symbol &symbol) noexcept |
| void | openNetLabelPropertiesDialog (SI_NetLabel &netlabel) noexcept |
| void | openPolygonPropertiesDialog (Polygon &polygon) noexcept |
| void | openTextPropertiesDialog (Text &text) noexcept |
| void | scheduleUpdateAvailableFeatures () noexcept |
| void | updateAvailableFeatures () noexcept |
Private Attributes | |
| SubState | mSubState |
| the current substate | |
| Point | mStartPos |
| std::unique_ptr< CmdDragSelectedSchematicItems > | mSelectedItemsDragCommand |
| SI_Polygon * | mSelectedPolygon |
| The current polygon selected for editing (nullptr if none) | |
| QVector< int > | mSelectedPolygonVertices |
| The polygon vertex indices selected for editing (empty if none) | |
| std::unique_ptr< CmdPolygonEdit > | mCmdPolygonEdit |
| The polygon edit command (nullptr if not editing) | |
| QList< QMetaObject::Connection > | mConnections |
| Signal/slot connections only when in this state. | |
| std::unique_ptr< QTimer > | mUpdateAvailableFeaturesTimer |
| Delay timer for updateAvailableFeatures(), only when in this state. | |
Additional Inherited Members | |
Public Types inherited from SchematicEditorState | |
| enum class | FindFlag |
| using | Context = SchematicEditorFsm::Context |
Signals inherited from SchematicEditorState | |
| void | requestLeavingState () |
| Signal to indicate that the current tool should be exited. | |
Protected Member Functions inherited from SchematicEditorState | |
| 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 inherited from SchematicEditorState | |
| static const QSet< const Layer * > & | getAllowedGeometryLayers () noexcept |
Protected Attributes inherited from SchematicEditorState | |
| Context | mContext |
| SchematicEditorFsmAdapter & | mAdapter |
The "select" state/tool of the schematic editor (default state)
|
strongprivate |
|
delete |
|
delete |
|
explicitnoexcept |
|
virtualnoexcept |
|
overridevirtualnoexcept |
|
overridevirtualnoexcept |
|
overridevirtualnoexcept |
|
overridevirtualnoexcept |
|
overridevirtualnoexcept |
|
overridevirtualnoexcept |
|
overridevirtualnoexcept |
Reimplemented from SchematicEditorState.
|
overridevirtualnoexcept |
Reimplemented from SchematicEditorState.
|
overridevirtualnoexcept |
Reimplemented from SchematicEditorState.
|
overridevirtualnoexcept |
|
overridevirtualnoexcept |
|
overridevirtualnoexcept |
|
overridevirtualnoexcept |
|
overridevirtualnoexcept |
|
overridevirtualnoexcept |
|
overridevirtualnoexcept |
|
overridevirtualnoexcept |
|
overridevirtualnoexcept |
Reimplemented from SchematicEditorState.
|
overridevirtualnoexcept |
|
delete |
|
privatenoexcept |
|
privatenoexcept |
Here is the call graph for this function:
|
privatenoexcept |
Here is the call graph for this function:
|
privatenoexcept |
Here is the call graph for this function:
|
privatenoexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
privatenoexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
privatenoexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
privatenoexcept |
Here is the call graph for this function:
|
privatenoexcept |
Here is the call graph for this function:
|
privatenoexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
privatenoexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
Here is the caller graph for this function:
|
privatenoexcept |
Here is the caller graph for this function:
|
privatenoexcept |
Here is the caller graph for this function:
|
privatenoexcept |
Here is the caller graph for this function:
|
privatenoexcept |
Here is the caller graph for this function:
|
privatenoexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
the current substate
|
private |
|
private |
|
private |
The current polygon selected for editing (nullptr if none)
|
private |
The polygon vertex indices selected for editing (empty if none)
|
private |
The polygon edit command (nullptr if not editing)
|
private |
Signal/slot connections only when in this state.
|
private |
Delay timer for updateAvailableFeatures(), only when in this state.