Subcontroller which handles all user interaction with the tool bar in the GUI, communicates with other controllers via signals and slots.  
 More...
#include <RobotComponents/gui-plugins/RobotTrajectoryDesignerGuiPlugin/Controller/ToolBarController.h>
Subcontroller which handles all user interaction with the tool bar in the GUI, communicates with other controllers via signals and slots. 
Definition at line 35 of file ToolBarController.h.
◆ ToolBarController()
◆ addedWaypoint
  
  | 
        
          | void addedWaypoint | ( | int | index, |  
          |  |  | bool | insertAfter = true |  
          |  | ) |  |  |  | signal | 
 
Notifies other controllers about the addition of a waypoint at the current position of the TCP control unit after the last waypoint. 
- Parameters
- 
  
    | constraints | Constraints of the Waypoint: InsertAfter |  
 
 
 
◆ 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 | 
 
Notifies other controllers about the deletion of the currently selected waypoint. 
- Parameters
- 
  
    | index | Index of the currently selected waypoint |  
 
 
 
◆ enableAddButton
  
  | 
        
          | void enableAddButton | ( | bool | enable | ) |  |  | slot | 
 
Enables or disables the add button. 
- Parameters
- 
  
    | enable | Determines whether to enable or disable the add button |  
 
Definition at line 175 of file ToolBarController.cpp.
 
 
◆ enableDeleteChangeButton
  
  | 
        
          | void enableDeleteChangeButton | ( | bool | enable | ) |  |  | slot | 
 
Enables or disables the delete and change button. 
- Parameters
- 
  
    | enable | Determines whether to enable or disable the delete button |  
 
Definition at line 168 of file ToolBarController.cpp.
 
 
◆ enablePreviewAllButton
  
  | 
        
          | void enablePreviewAllButton | ( | bool | enable | ) |  |  | slot | 
 
Enables or disables the prview all button. 
- Parameters
- 
  
    | enable | Determines whether to enable or disable the previes button |  
 
Definition at line 181 of file ToolBarController.cpp.
 
 
◆ enablePreviewButton
  
  | 
        
          | void enablePreviewButton | ( | bool | enable | ) |  |  | slot | 
 
Enables or disables the prview button. 
- Parameters
- 
  
    | enable | Determines whether to enable or disable the previes button |  
 
Definition at line 187 of file ToolBarController.cpp.
 
 
◆ enableStopButton
  
  | 
        
          | void enableStopButton | ( | bool | enable | ) |  |  | slot | 
 
Enables or disables the prview all button. 
- Parameters
- 
  
    | enable | Determines whether to enable or disable the previes button |  
 
Definition at line 193 of file ToolBarController.cpp.
 
 
◆ getCurrentWaypoint()
      
        
          | int getCurrentWaypoint | ( |  | ) |  | 
      
 
Getter for the index of the currently selected waypoint. 
- Returns
- Index of the currently selected waypoint 
Definition at line 111 of file ToolBarController.cpp.
 
 
◆ getGuiToolbar()
◆ notifyAllPreview
  
  | 
        
          | void notifyAllPreview | ( |  | ) |  |  | signal | 
 
Plays the preview of all trajectories. 
 
 
◆ notifyPreview
Plays the preview of the current trajectory. 
 
 
◆ notifyStopPreview
  
  | 
        
          | void notifyStopPreview | ( |  | ) |  |  | signal | 
 
stop the preview of the trajectories 
 
 
◆ onConnectComponent()
  
  | 
        
          | void onConnectComponent | ( |  | ) |  |  | overridevirtual | 
 
 
◆ onDisconnectComponent()
  
  | 
        
          | void onDisconnectComponent | ( |  | ) |  |  | overridevirtual | 
 
 
◆ onExitComponent()
◆ onInitComponent()
◆ retranslateGui
◆ 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 117 of file ToolBarController.cpp.
 
 
◆ setGuiToolbar()
The documentation for this class was generated from the following files: