Manages the signals and model of the OpenScenarioView.
More...
#include <ArmarXGui/gui-plugins/ScenarioManager/controller/openscenariocontroller.h>
Manages the signals and model of the OpenScenarioView.
This Controller manages opening and loading in a scenario.
◆ OpenScenarioController()
Constructor that sets the data structure and optionally the parent object.
- Parameters
-
| packages | list of packages |
| parent | standard optional QT parent object |
◆ ~OpenScenarioController()
◆ on_openScenario
| void on_openScenario |
( |
int | row, |
|
|
int | column, |
|
|
QModelIndex | parent ) |
|
slot |
Finds a scenario in the model, based on the given data and updates the current model and data structure to include the given scenario.
- Parameters
-
| row | row the scenario is in |
| column | column the scenario is in |
| parent | parent index of the scenario |
◆ on_showAddPackageDialog
| void on_showAddPackageDialog |
( |
| ) |
|
|
slot |
◆ showOpenScenarioView
| void showOpenScenarioView |
( |
| ) |
|
|
slot |
Shows the OpenScenarioView which allows the User to open and load in a Scenario.
◆ showPackageDialog
| void showPackageDialog |
( |
| ) |
|
|
signal |
◆ updated
This signal gets emitted if the data structure has changed.
◆ updateModel
Reloads the packages into the model.
The documentation for this class was generated from the following files: