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