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 | addTrajectory (QString trajectory) |
| | Adds a new trajectory to the combobox of available trajectories.
|
| |
| void | enableSelectedTCP (bool enable) |
| | Enables or disables the selected tcp combobox.
|
| |
| void | removeAllTrajectories () |
| | Removes all trajectorie is tcpComboBox.
|
| |
| void | removeTrajectory (QString trajectory) |
| | Removes the given trajectory from the TCP selection combo box.
|
| |
| void | updateSelectedTCP (QString trajectory) |
| | Updates the currently displayed trajectory of the corresponding TCP.
|
| |
|
| void | changedSelectedTCP (QString trajectory) |
| | Notifies other controllers about changes of the currently displayed trajectory.
|
| |
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 106 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 137 of file TCPSelectionController.cpp.
◆ getCurrentTCPCombobox()
| QComboBox * getCurrentTCPCombobox |
( |
| ) |
|
Getter for the QComboBox pointer to currentTCPCombobox.
- Returns
- A Pointer to the currentTCPCombobox
Definition at line 71 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 122 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 95 of file TCPSelectionController.cpp.
The documentation for this class was generated from the following files: