Subcontroller which handles all user interaction with the active TCP selection in the GUI, communicates with other controllers via signals and slots.
More...
#include <RobotComponents/gui-plugins/RobotTrajectoryDesignerGuiPlugin/Controller/TCPSelectionController.h>
|
void | changedSelectedTCP (QString trajectory) |
| Notifies other controllers about changes of the currently displayed trajectory. More...
|
|
Subcontroller which handles all user interaction with the active TCP selection in the GUI, communicates with other controllers via signals and slots.
Definition at line 37 of file TCPSelectionController.h.
◆ TCPSelectionController()
◆ addTrajectory
void addTrajectory |
( |
QString |
trajectory | ) |
|
|
slot |
Adds a new trajectory to the combobox of available trajectories.
- Parameters
-
trajectory | String identifier of the trajectory |
Definition at line 96 of file TCPSelectionController.cpp.
◆ changedSelectedTCP
void changedSelectedTCP |
( |
QString |
trajectory | ) |
|
|
signal |
Notifies other controllers about changes of the currently displayed trajectory.
- Parameters
-
index | Index of the trajectory |
◆ enableSelectedTCP
void enableSelectedTCP |
( |
bool |
enable | ) |
|
|
slot |
Enables or disables the selected tcp combobox.
- Parameters
-
enable | Determines whether to enable or disable the selected tcp combobox |
Definition at line 125 of file TCPSelectionController.cpp.
◆ getCurrentTCPCombobox()
QComboBox * getCurrentTCPCombobox |
( |
| ) |
|
Getter for the QComboBox pointer to currentTCPCombobox.
- Returns
- A Pointer to the currentTCPCombobox
Definition at line 65 of file TCPSelectionController.cpp.
◆ onConnectComponent()
void onConnectComponent |
( |
| ) |
|
|
overridevirtual |
◆ onDisconnectComponent()
void onDisconnectComponent |
( |
| ) |
|
|
overridevirtual |
◆ onExitComponent()
◆ onInitComponent()
◆ removeAllTrajectories
void removeAllTrajectories |
( |
| ) |
|
|
slot |
◆ removeTrajectory
void removeTrajectory |
( |
QString |
trajectory | ) |
|
|
slot |
Removes the given trajectory from the TCP selection combo box.
- Parameters
-
trajectory | String identifier of the trajectory |
Definition at line 111 of file TCPSelectionController.cpp.
◆ setCurrentTCPCombobox()
void setCurrentTCPCombobox |
( |
QComboBox * |
currentTCPCombobox | ) |
|
◆ updateSelectedTCP
void updateSelectedTCP |
( |
QString |
trajectory | ) |
|
|
slot |
Updates the currently displayed trajectory of the corresponding TCP.
- Parameters
-
trajectory | String identifier of the trajectory |
Definition at line 86 of file TCPSelectionController.cpp.
The documentation for this class was generated from the following files: