26 #ifndef __TERRALIB_QT_WIDGETS_DATASET_EXPLORER_INTERNAL_DATASETTREEVIEW_H
27 #define __TERRALIB_QT_WIDGETS_DATASET_EXPLORER_INTERNAL_DATASETTREEVIEW_H
30 #include "../../../../dataaccess/datasource/DataSourceInfo.h"
31 #include "../../Config.h"
38 #include <QtGui/QTreeView>
46 class DataSetGroupItem;
47 class DataSetCategoryGroupItem;
49 class DataSetTreeModel;
50 class DataSetCategoryModel;
73 std::list<DataSetItem*> getSelectedDataSets()
const;
75 bool hasSelectedDataSets()
const;
117 void onItemActivated(
const QModelIndex & index);
119 void onItemClicked(
const QModelIndex & index);
121 void onItemDoubleClicked(
const QModelIndex & index);
123 void onItemEntered(
const QModelIndex & index);
125 void onItemPressed(
const QModelIndex & index);
127 void customContextMenu(
const QPoint &point);
129 void onModelToggled(
bool checked);
143 #endif // __TERRALIB_QT_WIDGETS_DATASET_EXPLORER_INTERNAL_DATASETTREEVIEW_H
te::da::DataSourceInfoPtr m_ds
#define TEQTWIDGETSEXPORT
You can use this macro in order to export/import classes and functions from this module.
A tree view for datasets of a data source.
std::auto_ptr< DataSetTreeModel > m_treeModel
std::auto_ptr< DataSetCategoryModel > m_categoryModel
boost::shared_ptr< DataSourceInfo > DataSourceInfoPtr