95 QStringList getAllClosedScenarios();
96 QStringList getFavouriteScenarios(QStringList allClosedScenarios);
100 const std::size_t favlistSize;
View that allows to open a previously saved scenario.
OpenScenarioController(Data_Structure::PackageVectorPtr packages, Exec::ExecutorPtr exec, QObject *parent=0)
Constructor that sets the data structure and optionally the parent object.
void updated()
This signal gets emitted if the data structure has changed.
void showOpenScenarioView()
Shows the OpenScenarioView which allows the User to open and load in a Scenario.
void on_showAddPackageDialog()
void updateModel()
Reloads the packages into the model.
~OpenScenarioController() override
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 structu...
std::shared_ptr< FilterableTreeModelSortFilterProxyModel > FilterableTreeModelSortFilterProxyModelPtr
std::shared_ptr< std::vector< ScenarioManager::Data_Structure::PackagePtr > > PackageVectorPtr
std::shared_ptr< Executor > ExecutorPtr
std::shared_ptr< OpenScenarioModel > OpenScenarioModelPtr