27 #include "../../../../dataaccess/datasource/DataSourceInfo.h" 28 #include "../../../../dataaccess/datasource/DataSourceInfoManager.h" 29 #include "../core/DataSourceType.h" 30 #include "../core/DataSourceTypeManager.h" 46 treeView->setHeaderHidden(
true);
49 std::vector<te::da::DataSourceInfoPtr> datasources;
55 treeView->setModel(treeModel);
57 QString dsTypeTitle = QString::fromUtf8(it->second->getTitle().c_str());
59 addItem(treeView, dsTypeTitle);
73 int nmodels = count();
75 for(
int i = 0; i< nmodels; ++i)
86 tview->setModel(
nullptr);
A tree view for the data sources of an application.
static DataSourceTypeManager & getInstance()
It returns a reference to the singleton instance.