|
|
Manages the signals and model of the OpenScenarioView. This Controller manages opening and loading in a scenario. More...
#include <ArmarXGui/gui-plugins/ScenarioManager/controller/openscenariocontroller.h>
Inheritance diagram for OpenScenarioController:Public Slots | |
| void | on_openScenario (int row, int column, QModelIndex parent) |
| Finds a scenario in the model, based on the given data and updates the current model and data structure to include the given scenario. More... | |
| void | on_showAddPackageDialog () |
| void | showOpenScenarioView () |
| Shows the OpenScenarioView which allows the User to open and load in a Scenario. More... | |
| void | updateModel () |
| Reloads the packages into the model. More... | |
Signals | |
| void | showPackageDialog () |
| void | updated () |
| This signal gets emitted if the data structure has changed. More... | |
Public Member Functions | |
| OpenScenarioController (Data_Structure::PackageVectorPtr packages, Exec::ExecutorPtr exec, QObject *parent=0) | |
| Constructor that sets the data structure and optionally the parent object. More... | |
| ~OpenScenarioController () override | |
Manages the signals and model of the OpenScenarioView. This Controller manages opening and loading in a scenario.
Definition at line 51 of file openscenariocontroller.h.
| OpenScenarioController | ( | Data_Structure::PackageVectorPtr | packages, |
| Exec::ExecutorPtr | exec, | ||
| QObject * | parent = 0 |
||
| ) |
Constructor that sets the data structure and optionally the parent object.
| packages | list of packages |
| parent | standard optional QT parent object |
Definition at line 52 of file openscenariocontroller.cpp.
Here is the call graph for this function:
|
override |
Definition at line 74 of file openscenariocontroller.cpp.
|
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.
| row | row the scenario is in |
| column | column the scenario is in |
| parent | parent index of the scenario |
Definition at line 79 of file openscenariocontroller.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
slot |
Definition at line 207 of file openscenariocontroller.cpp.
Here is the caller graph for this function:
|
slot |
Shows the OpenScenarioView which allows the User to open and load in a Scenario.
Definition at line 201 of file openscenariocontroller.cpp.
|
signal |
Here is the caller graph for this function:
|
signal |
This signal gets emitted if the data structure has changed.
Here is the caller graph for this function:
|
slot |
Reloads the packages into the model.
Definition at line 213 of file openscenariocontroller.cpp.
Here is the call graph for this function:
Here is the caller graph for this function: