Model underlying the ApplicationDatabaseView.
void packageClicked(Data_Structure::PackagePtr package)
Gets emitted after a Package gets clicked in the ApplicationDatabaseView.
void on_itemClicked(const QModelIndex &index)
Finds out whether an Application or a Scenario has been clicked and sends a signal with the correspon...
ApplicationDatabaseController(Data_Structure::PackageVectorPtr packages, Exec::ExecutorPtr executor, QObject *parent=0)
Constructor that takes the data structure this controller operates on and optionally the parent objec...
~ApplicationDatabaseController() override
void modelUpdated(FilterableTreeModelSortFilterProxyModelPtr model)
FilterableTreeModelSortFilterProxyModelPtr getModel()
Returns the model used by the ApplicationDatabaseView and managed by this controller.
void updatePackages()
Updates the packages displayed in the ApplicationDatabaseView by reloading all packages and applicati...
void applicationClicked(Data_Structure::ApplicationPtr app)
Gets emitted after an Application has been clicked in the ApplicationDatabaseView.
std::shared_ptr< FilterableTreeModelSortFilterProxyModel > FilterableTreeModelSortFilterProxyModelPtr
std::shared_ptr< Application > ApplicationPtr
std::shared_ptr< std::vector< ScenarioManager::Data_Structure::PackagePtr > > PackageVectorPtr
std::shared_ptr< Package > PackagePtr
std::shared_ptr< Executor > ExecutorPtr