SettingController Class Reference

Subcontroller which handles all user interaction with the setting tab in the GUI, communicates with other controllers via signals and slots. More...

#include <RobotComponents/gui-plugins/RobotTrajectoryDesignerGuiPlugin/Controller/SettingController.h>

+ Inheritance diagram for SettingController:

Public Slots

void enableExportButtons (bool enable)
 Enables or disables the export buttons.
 
void enableIKSolutionButton (bool enable)
 Enables or disables the new IK solution button.
 
void enableImportTCPCollision (bool enable)
 Enables or disables the import, tcp and collision buttons.
 
void enableSelectRobotButton (bool enable)
 
void environmentChanged (EnvironmentPtr environment)
 Set the enviroment.
 
void retranslateGui ()
 Retranslates the guiSettingTab.
 
void selectTCP (int index)
 Changes the currently selected TCP.
 
void selectTCP (QString tcp)
 Changes the currently selected TCP.
 

Signals

void changedIKSolution ()
 Notifies other controllers about the availability of a new IK solution for the first waypoint.
 
void changedLanguage (QString language)
 Notifies other controllers about a change of the language.
 
void changedTCP (QString tcp)
 Notifies other controllers about a change of the current TCP.
 
void convertToMMM ()
 Notifies other controllers to convert all trajectories to MMM.
 
void exportTrajectory ()
 Notifies other controllers to export all trajectories to Trajectory.
 
void openImport ()
 Notifies other controllers to open an import dialog.
 
void openRobotSelection ()
 Notifies other controllers to open a robot selection dialog.
 
void openShortcut ()
 Notifies other controllers to open a shortcut dialog.
 
void setActiveColModelName (QString activeColModelName)
 Sets the active collision model name.
 
void setBodyColModelsNames (QStringList bodyColModelsNames)
 Sets the body collision models names.
 

Public Member Functions

SettingTabPtr getGuiSettingTab ()
 Getter for the SettingTab pointer to guiSettingTab.
 
void onConnectComponent () override
 
void onDisconnectComponent () override
 
void onExitComponent () override
 
void onInitComponent () override
 
void setGuiSettingTab (SettingTabPtr guiSettingTab)
 Setter for the SettingTab pointer to guiSettingTab.
 
 SettingController (SettingTabPtr guiSettingTab)
 Creates a new SettingController and assigns a SettingTab to handle.
 

Detailed Description

Subcontroller which handles all user interaction with the setting tab in the GUI, communicates with other controllers via signals and slots.

Constructor & Destructor Documentation

◆ SettingController()

SettingController ( SettingTabPtr guiSettingTab)

Creates a new SettingController and assigns a SettingTab to handle.

Parameters
guiSettingTabPointer to the SettingTab whose user interaction is handled by the TransitionController

Member Function Documentation

◆ changedIKSolution

void changedIKSolution ( )
signal

Notifies other controllers about the availability of a new IK solution for the first waypoint.

◆ changedLanguage

void changedLanguage ( QString language)
signal

Notifies other controllers about a change of the language.

Parameters
indexIndex of the language

◆ changedTCP

void changedTCP ( QString tcp)
signal

Notifies other controllers about a change of the current TCP.

Parameters
indexIndex of the TCP

◆ convertToMMM

void convertToMMM ( )
signal

Notifies other controllers to convert all trajectories to MMM.

◆ enableExportButtons

void enableExportButtons ( bool enable)
slot

Enables or disables the export buttons.

Parameters
enableDetermines whether to enable or disable the export buttons

◆ enableIKSolutionButton

void enableIKSolutionButton ( bool enable)
slot

Enables or disables the new IK solution button.

Parameters
enableDetermines whether to enable or disable the ik solution button

◆ enableImportTCPCollision

void enableImportTCPCollision ( bool enable)
slot

Enables or disables the import, tcp and collision buttons.

Parameters
enableDetermines whether to enable or disable the import, tcp and collision buttons

◆ enableSelectRobotButton

void enableSelectRobotButton ( bool enable)
slot

◆ environmentChanged

void environmentChanged ( EnvironmentPtr environment)
slot

Set the enviroment.

Parameters
Thenew enviroment

◆ exportTrajectory

void exportTrajectory ( )
signal

Notifies other controllers to export all trajectories to Trajectory.

◆ getGuiSettingTab()

SettingTabPtr getGuiSettingTab ( )

Getter for the SettingTab pointer to guiSettingTab.

Returns
A Pointer to the guiSettingTab

◆ onConnectComponent()

void onConnectComponent ( )
overridevirtual

◆ onDisconnectComponent()

void onDisconnectComponent ( )
overridevirtual

◆ onExitComponent()

void onExitComponent ( )
overridevirtual

◆ onInitComponent()

void onInitComponent ( )
overridevirtual

◆ openImport

void openImport ( )
signal

Notifies other controllers to open an import dialog.

◆ openRobotSelection

void openRobotSelection ( )
signal

Notifies other controllers to open a robot selection dialog.

◆ openShortcut

void openShortcut ( )
signal

Notifies other controllers to open a shortcut dialog.

◆ retranslateGui

void retranslateGui ( )
slot

Retranslates the guiSettingTab.

◆ selectTCP [1/2]

void selectTCP ( int index)
slot

Changes the currently selected TCP.

Parameters
indexIndex of the current TCP

◆ selectTCP [2/2]

void selectTCP ( QString tcp)
slot

Changes the currently selected TCP.

Parameters
tcpString identifier of the current TCP

◆ setActiveColModelName

void setActiveColModelName ( QString activeColModelName)
signal

Sets the active collision model name.

Parameters
activeColModelNameActive collision model name

◆ setBodyColModelsNames

void setBodyColModelsNames ( QStringList bodyColModelsNames)
signal

Sets the body collision models names.

Parameters
activeColModelNameBody collision models names

◆ setGuiSettingTab()

void setGuiSettingTab ( SettingTabPtr guiSettingTab)

Setter for the SettingTab pointer to guiSettingTab.

Parameters
guiSettingTabPointer to the SettingTab whose user interaction is handled by the SettingController

The documentation for this class was generated from the following files: