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)
77 QWidget* w = widget(i);
84 QAbstractItemModel* model = tview->model();
104 emit doubleClicked(item);
A tree view for the data sources of an application.
static DataSourceTypeManager & getInstance()
It returns a reference to the singleton instance.