26 #ifndef __TERRALIB_QT_WIDGETS_DATASET_SELECTOR_INTERNAL_DATASETSELECTORWIDGET_H
27 #define __TERRALIB_QT_WIDGETS_DATASET_SELECTOR_INTERNAL_DATASETSELECTORWIDGET_H
30 #include "../../../../dataaccess/dataset/DataSetType.h"
31 #include "../../../../dataaccess/datasource/DataSourceInfo.h"
32 #include "../../Config.h"
42 namespace Ui {
class DataSetSelectorWidgetForm; }
52 class DataSetGroupItem;
53 class DataSetTableView;
54 class DataSetTreeView;
75 void setMapPreviewVisible(
bool visible);
77 void setMapPreviewEnabled(
bool enabled);
79 void setDataPreviewVisible(
bool visible);
81 void setDataPreviewEnabled(
bool enabled);
83 void setNumPreviewRows(
int nrows);
85 std::list<te::da::DataSetTypePtr> getCheckedDataSets()
const;
87 bool hasCheckedDataSets()
const;
89 std::list<std::string> getCheckedGeomProperties()
const;
91 std::list<te::da::DataSetTypePtr> getSelectedDataSets()
const;
93 bool hasSelectedDataSets()
const;
95 std::list<std::string> getSelectedGeomProperties()
const;
113 void onMapPreviewToggled(
bool on);
115 void onDataPreviewToggled(
bool on);
125 std::auto_ptr<Ui::DataSetSelectorWidgetForm>
m_ui;
137 #endif // __TERRALIB_QT_WIDGETS_DATASET_SELECTOR_INTERNAL_DATASETSELECTORWIDGET_H
boost::shared_ptr< DataSetType > DataSetTypePtr
boost::shared_ptr< DataSourceInfo > DataSourceInfoPtr