#include <RobotComponents/gui-plugins/RobotTrajectoryDesignerGuiPlugin/Controller/ShortcutController.h>
Definition at line 13 of file ShortcutController.h.
◆ ShortcutController()
◆ addedWaypoint
| void addedWaypoint |
( |
int |
index, |
|
|
bool |
insertAfter = true |
|
) |
| |
|
signal |
Add a waypoint at the waypointIndex.
- Parameters
-
| index | Index of the last waypoint |
| isBreakpoint | Boolean determining whether to set a breakpoint or not |
◆ addedWaypointPressed
| void addedWaypointPressed |
( |
bool |
pressed | ) |
|
|
signal |
◆ changedPerspective
| void changedPerspective |
( |
int |
perspective | ) |
|
|
signal |
Change the perspective in the robot visualization.
- Parameters
-
| perspective | Integer representing an enum for the different perspectives |
◆ changeWaypoint
| void changeWaypoint |
( |
int |
index | ) |
|
|
signal |
Notifies other controllers about the change of the currently selected waypoint.
- Parameters
-
| index | Index of the currently selected waypoint |
◆ deletedWaypoint
| void deletedWaypoint |
( |
int |
index | ) |
|
|
signal |
Delete a waypoint at the waypointIndex.
- Parameters
-
| index | Index of the currently selected waypoint |
◆ enableAddShortcut
| void enableAddShortcut |
( |
bool |
enable | ) |
|
|
slot |
Enables or disables the add shortcut.
- Parameters
-
| enable | Determines whether to enable or disable the add shortcut |
Definition at line 143 of file ShortcutController.cpp.
◆ enableDeleteChangeShortcut
| void enableDeleteChangeShortcut |
( |
bool |
enable | ) |
|
|
slot |
Enables or disables the delete and change shortcut.
- Parameters
-
| enable | Determines whether to enable or disable the delete shortcut |
Definition at line 136 of file ShortcutController.cpp.
◆ enablePreviewAllShortcut
| void enablePreviewAllShortcut |
( |
bool |
enable | ) |
|
|
slot |
Enables or disables the prview all shortcut.
- Parameters
-
| enable | Determines whether to enable or disable the previes shortcut |
Definition at line 112 of file ShortcutController.cpp.
◆ enablePreviewShortcut
| void enablePreviewShortcut |
( |
bool |
enable | ) |
|
|
slot |
Enables or disables the prview shortcut.
- Parameters
-
| enable | Determines whether to enable or disable the previes shortcut |
Definition at line 149 of file ShortcutController.cpp.
◆ enableRedoShortcut
| void enableRedoShortcut |
( |
bool |
enable | ) |
|
|
slot |
Enables or disables the redo shortcut.
- Parameters
-
| enable | Determines whether to enable or disable the redo shortcut |
Definition at line 124 of file ShortcutController.cpp.
◆ enableStopPreviewShortcut
| void enableStopPreviewShortcut |
( |
bool |
enable | ) |
|
|
slot |
Enables or disables the stop preview shortcut.
- Parameters
-
| enable | Determines whether to enable or disable the stop preview shortcut |
Definition at line 118 of file ShortcutController.cpp.
◆ enableUndoShortcut
| void enableUndoShortcut |
( |
bool |
enable | ) |
|
|
slot |
Enables or disables the undo shortcut.
- Parameters
-
| enable | Determines whether to enable or disable the undo shortcut |
Definition at line 130 of file ShortcutController.cpp.
◆ getCurrentWaypoint()
| int getCurrentWaypoint |
( |
| ) |
|
Getter for the index of the currently selected waypoint.
- Returns
- Index of the currently selected waypoint
Definition at line 90 of file ShortcutController.cpp.
◆ onConnectComponent()
| void onConnectComponent |
( |
| ) |
|
|
overridevirtual |
◆ onDisconnectComponent()
| void onDisconnectComponent |
( |
| ) |
|
|
overridevirtual |
◆ onExitComponent()
◆ onInitComponent()
◆ open
◆ playPreviewAllSignal
| void playPreviewAllSignal |
( |
| ) |
|
|
signal |
Plays the preview of all trajectories.
◆ playPreviewSignal
| void playPreviewSignal |
( |
| ) |
|
|
signal |
◆ redo
Notifies other controllers about redoing the lastly undone operation.
◆ setCurrentWaypoint
| void setCurrentWaypoint |
( |
int |
currentWaypoint | ) |
|
|
slot |
Setter for the index of the currently selected waypoint.
- Parameters
-
| currentWaypoint | Index of the currently selected waypoint |
Definition at line 96 of file ShortcutController.cpp.
◆ stopPreviewSignal
| void stopPreviewSignal |
( |
| ) |
|
|
signal |
Stop the preview of all trajectories.
◆ undo
Notifies other controllers about undoing the lastly executed operation.
The documentation for this class was generated from the following files: