26 #ifndef __TERRALIB_WS_OGC_WMS_QT_WMSLAYERSELECTORDIALOG_H
27 #define __TERRALIB_WS_OGC_WMS_QT_WMSLAYERSELECTORDIALOG_H
33 #include "../client/DataTypes.h"
34 #include "../../../../qt/widgets/dataset/explorer/DataSetTreeView.h"
35 #include "../client/WMSClient.h"
40 #include "../../../../dataaccess/dataset/DataSetType.h"
41 #include "../../../../dataaccess/datasource/DataSourceInfo.h"
42 #include "../../../../dataaccess/datasource/DataSource.h"
47 #include <QTreeWidgetItem>
52 namespace Ui {
class WMSLayerSelectorDialogForm; }
84 std::vector<te::ws::ogc::wms::WMSGetMapRequest> getCheckedRequests();
88 void currentLayerChanged(QTreeWidgetItem* current, QTreeWidgetItem* previous);
90 void okPushButtonPressed();
92 void imgFormatIndexChanged(
const int& index);
94 void timeDimIndexChanged(
const int& index);
96 void styleIndexChanged(
const int& index);
98 void crsIndexChanged(
const int& index);
100 void transparencyStateChanged(
const int& state);
102 void checkLayerItemChanged(QTreeWidgetItem* item,
int column);
108 void refreshLayerProperties();
110 void refreshMapPreview();
112 std::vector<WMSLayerItem*> getCheckedLayerItens();
116 std::unique_ptr<Ui::WMSLayerSelectorDialogForm>
m_ui;
132 #endif // __TERRALIB_WS_OGC_WMS_QT_WMSLAYERSELECTORDIALOG_H
boost::shared_ptr< DataSource > DataSourcePtr
std::unique_ptr< Ui::WMSLayerSelectorDialogForm > m_ui
te::da::DataSourceInfoPtr m_datasourceInfo
QTreeWidgetItem extension to WMS Layers.
The Layer WMS 1.3.0 struct.
A display QFrame to draw previews for WMS data.
te::da::DataSourcePtr m_datasource
bool m_refreshingProperties
WMSLayerItem * m_currentLayerItem
std::unique_ptr< te::ws::ogc::WMSClient > m_client
std::unique_ptr< WMSLayerDisplay > m_mapPreview
A dialog window to show GetCapabilities data from a WMS Server.
The WMSLayerItem class is an extension of QTreeWidgetItem to handle WMS Layer creation.
te::ws::ogc::wms::Layer m_rootLayer
boost::shared_ptr< DataSourceInfo > DataSourceInfoPtr