Go to the documentation of this file.
22 #ifndef SETTINGCONTROLLER_H
23 #define SETTINGCONTROLLER_H
25 #include "../View/SettingTab.h"
26 #include "../Environment.h"
27 #include "VirtualRobot/RobotNodeSet.h"
28 #include "../Util/WheelEventFilter.h"
141 void openRobotSelectionDialog();
147 void openShortcutDialog();
160 void newIKSolution();
166 void selectActiveCM(
int index);
173 void setCollisionModelList(QListWidgetItem* item);
178 void exportTrajectorySlot();
183 void convertToMMMSlot();
188 void openImportDialog();
194 void setLanguage(
int index);
266 void enableWidgets(
bool enable);
294 #endif // SETTINGCONTROLLER_H
SettingController(SettingTabPtr guiSettingTab)
Creates a new SettingController and assigns a SettingTab to handle.
void onDisconnectComponent() override
void changedTCP(QString tcp)
Notifies other controllers about a change of the current TCP.
std::shared_ptr< SettingController > SettingControllerPtr
void convertToMMM()
Notifies other controllers to convert all trajectories to MMM.
void onExitComponent() override
void retranslateGui()
Retranslates the guiSettingTab.
void changedIKSolution()
Notifies other controllers about the availability of a new IK solution for the first waypoint.
void enableImportTCPCollision(bool enable)
Enables or disables the import, tcp and collision buttons.
void setGuiSettingTab(SettingTabPtr guiSettingTab)
Setter for the SettingTab pointer to guiSettingTab.
void exportTrajectory()
Notifies other controllers to export all trajectories to Trajectory.
std::shared_ptr< Environment > EnvironmentPtr
Subcontroller which handles all user interaction with the setting tab in the GUI, communicates with o...
void openShortcut()
Notifies other controllers to open a shortcut dialog.
void enableIKSolutionButton(bool enable)
Enables or disables the new IK solution button.
SettingTabPtr getGuiSettingTab()
Getter for the SettingTab pointer to guiSettingTab.
void changedLanguage(QString language)
Notifies other controllers about a change of the language.
void openRobotSelection()
Notifies other controllers to open a robot selection dialog.
void onInitComponent() override
void setBodyColModelsNames(QStringList bodyColModelsNames)
Sets the body collision models names.
std::shared_ptr< SettingTab > SettingTabPtr
void enableSelectRobotButton(bool enable)
void environmentChanged(EnvironmentPtr environment)
Set the enviroment.
void selectTCP(int index)
Changes the currently selected TCP.
void onConnectComponent() override
This file offers overloads of toIce() and fromIce() functions for STL container types.
void openImport()
Notifies other controllers to open an import dialog.
Abstract controller providing a set of methods which must be implemented by every controller.
std::shared_ptr< class Robot > RobotPtr
void enableExportButtons(bool enable)
Enables or disables the export buttons.
void setActiveColModelName(QString activeColModelName)
Sets the active collision model name.