Subcontroller which handles all user interaction with the transition tab in the GUI, communicates with other controllers via signals and slots.
More...
#include <RobotComponents/gui-plugins/RobotTrajectoryDesignerGuiPlugin/Controller/TransitionController.h>
Subcontroller which handles all user interaction with the transition tab in the GUI, communicates with other controllers via signals and slots.
Definition at line 77 of file TransitionController.h.
◆ TransitionController()
◆ addTransition
void addTransition |
( |
int |
index, |
|
|
double |
duration, |
|
|
double |
start, |
|
|
int |
interpolation |
|
) |
| |
|
slot |
Adds a new transition to the list widget.
- Parameters
-
index | Index of the transition |
duration | Duration of the transition |
start | Start time of the transition |
interpolation | Index of the interpolation |
Definition at line 101 of file TransitionController.cpp.
◆ changedDuration
void changedDuration |
( |
int |
transition, |
|
|
double |
duration |
|
) |
| |
|
signal |
Notifies other controllers about changes of the duration of the given transition.
- Parameters
-
index | Index of the transition |
duration | New duration value of the transition |
◆ changedInterpolation
void changedInterpolation |
( |
int |
index, |
|
|
int |
it |
|
) |
| |
|
signal |
Notifies other controllers about changes of the interpolation type of the given transition.
- Parameters
-
index | Index of the transition |
it | New interpolation index of the transition |
◆ clearTransitionList
void clearTransitionList |
( |
| ) |
|
|
slot |
◆ getGuiTransitionTab()
◆ onConnectComponent()
void onConnectComponent |
( |
| ) |
|
|
overridevirtual |
◆ onDisconnectComponent()
void onDisconnectComponent |
( |
| ) |
|
|
overridevirtual |
◆ onExitComponent()
◆ onInitComponent()
◆ removeTransition
void removeTransition |
( |
int |
index | ) |
|
|
slot |
Removes the transition at a given index from the list widget.
- Parameters
-
index | Index of the transition |
Definition at line 130 of file TransitionController.cpp.
◆ retranslateGui
◆ selectedTransitionChanged
void selectedTransitionChanged |
( |
int |
index | ) |
|
|
signal |
◆ setGuiTransitionTab()
◆ setTransitionData
void setTransitionData |
( |
int |
index, |
|
|
double |
duration, |
|
|
double |
start, |
|
|
int |
it |
|
) |
| |
|
slot |
Connected with signals from other controllers, sets all values of the transition at a given index.
- Parameters
-
transition | Index of the transition |
duration | Duration of the transition |
start | Start time of the transition |
it | Index of the interpolation of the transition |
Definition at line 232 of file TransitionController.cpp.
◆ updateSelectedTransition
void updateSelectedTransition |
( |
int |
index | ) |
|
|
slot |
Updates the currently selected transition.
- Parameters
-
index | Index of the currently selected transition in the list widget |
Definition at line 165 of file TransitionController.cpp.
The documentation for this class was generated from the following files: