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"
40 #include <QtGui/QWidget>
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<te::da::DataSetTypePtr> getSelectedDataSets()
const;
91 bool hasSelectedDataSets()
const;
109 void onMapPreviewToggled(
bool on);
111 void onDataPreviewToggled(
bool on);
121 std::auto_ptr<Ui::DataSetSelectorWidgetForm>
m_ui;
133 #endif // __TERRALIB_QT_WIDGETS_DATASET_SELECTOR_INTERNAL_DATASETSELECTORWIDGET_H
#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.
A wizard for selecting datasets from a data source.
std::auto_ptr< DataSetTreeView > m_datasetTreeView
te::da::DataSourceInfoPtr m_datasource
std::auto_ptr< DataSetTableView > m_tblView
std::auto_ptr< Ui::DataSetSelectorWidgetForm > m_ui
std::set< te::da::DataSetTypePtr, DataSetComparer > m_checkedDatasets
std::auto_ptr< te::qt::widgets::DataSetDisplay > m_mapPreview
boost::shared_ptr< DataSetType > DataSetTypePtr
boost::shared_ptr< DataSourceInfo > DataSourceInfoPtr