Go to the documentation of this file.
22 #ifndef VIEWCONTROLLER_H
23 #define VIEWCONTROLLER_H
25 #include "../View/Perspectives.h"
26 #include "../Util/WheelEventFilter.h"
27 #include <QMouseEvent>
29 #include <QPushButton>
100 void removeViewSlot();
126 void initPerspectivesCombobox();
128 void enableAddRemoveViewButton();
134 #endif // VIEWCONTROLLER_H
void retranslateGui()
Retranslates the guiPerspectives.
void addView()
Notifies RobotVisualizationController to add a view.
void onExitComponent() override
ViewController(PerspectivesPtr guiPerspectives)
Creates a new ViewController and assigns a Perspectives widget to handle.
void onInitComponent() override
void changedPerspective(int perspective)
Notifies other controllers about changes of the perspective.
void onDisconnectComponent() override
void setGuiPerspectives(PerspectivesPtr guiPerspectives)
Setter for the Perspectives pointer to guiPerspectives.
PerspectivesPtr getGuiPerspectives()
Getter for the Perspectives pointer to guiPerspectives.
void removeView()
Notifies RobotVisualizationController to delete a view.
std::shared_ptr< ViewController > ViewControllerPtr
Subcontroller which handles all user interaction with the view selection area in the GUI,...
void setViewPerspective(int index)
Sets the perspective on the displayed robot model.
std::shared_ptr< Perspectives > PerspectivesPtr
This file offers overloads of toIce() and fromIce() functions for STL container types.
Abstract controller providing a set of methods which must be implemented by every controller.
void onConnectComponent() override