|
SILICON
|
#include <diagramInteractionController.hpp>
Public Member Functions | |
| DiagramInteractionController (ProjectSession &session, CircuitEditor &circuit, ComponentCatalogOverlay &catalog, QUndoStack &undoStack, QWidget &window) | |
| void | bindActions (const CircuitActions &actions) |
| Connects the main-window diagram actions to their diagram commands. | |
| void | selectAll () |
| void | rotate () |
| void | autoPlace () |
| void | centerView () |
| void | editActiveSubcircuitShape () |
| Opens the graphical shape editor for the active circuit document. | |
| void | setNormalMode () |
| void | setPanMode () |
| void | setWireCreationMode () |
| void | setSimulationMode () |
| void | setComponentPlacingMode () |
| void | showComponentCatalog () |
| void | cancelCurrentInteraction () |
Private Attributes | |
| ProjectSession & | session |
| CircuitEditor & | circuit |
| ComponentCatalogOverlay & | catalog |
| QUndoStack & | undoStack |
| QWidget & | window |
Diagram editing commands and interaction mode changes.
Definition at line 35 of file diagramInteractionController.hpp.
| DiagramInteractionController | ( | ProjectSession & | session, |
| CircuitEditor & | circuit, | ||
| ComponentCatalogOverlay & | catalog, | ||
| QUndoStack & | undoStack, | ||
| QWidget & | window ) |
Definition at line 45 of file diagramInteractionController.cpp.
| void autoPlace | ( | ) |
Definition at line 133 of file diagramInteractionController.cpp.
| void bindActions | ( | const CircuitActions & | actions | ) |
Connects the main-window diagram actions to their diagram commands.
Definition at line 57 of file diagramInteractionController.cpp.
| void cancelCurrentInteraction | ( | ) |
Definition at line 201 of file diagramInteractionController.cpp.
| void centerView | ( | ) |
Definition at line 138 of file diagramInteractionController.cpp.
| void editActiveSubcircuitShape | ( | ) |
Opens the graphical shape editor for the active circuit document.
Definition at line 143 of file diagramInteractionController.cpp.
| void rotate | ( | ) |
Definition at line 98 of file diagramInteractionController.cpp.
| void selectAll | ( | ) |
Definition at line 85 of file diagramInteractionController.cpp.
| void setComponentPlacingMode | ( | ) |
Definition at line 190 of file diagramInteractionController.cpp.
| void setNormalMode | ( | ) |
Definition at line 164 of file diagramInteractionController.cpp.
| void setPanMode | ( | ) |
Definition at line 169 of file diagramInteractionController.cpp.
| void setSimulationMode | ( | ) |
Definition at line 179 of file diagramInteractionController.cpp.
| void setWireCreationMode | ( | ) |
Definition at line 174 of file diagramInteractionController.cpp.
| void showComponentCatalog | ( | ) |
Definition at line 195 of file diagramInteractionController.cpp.
|
private |
Definition at line 63 of file diagramInteractionController.hpp.
|
private |
Definition at line 62 of file diagramInteractionController.hpp.
|
private |
Definition at line 61 of file diagramInteractionController.hpp.
|
private |
Definition at line 64 of file diagramInteractionController.hpp.
|
private |
Definition at line 65 of file diagramInteractionController.hpp.