26 #ifndef __TERRALIB_WS_OGC_WMS_QT_WMSLAYERSELECTORDIALOG_H 27 #define __TERRALIB_WS_OGC_WMS_QT_WMSLAYERSELECTORDIALOG_H 33 #include "../../../../qt/widgets/dataset/explorer/DataSetTreeView.h" 36 #include "../../../../dataaccess/dataset/DataSetType.h" 37 #include "../../../../dataaccess/datasource/DataSourceInfo.h" 38 #include "../../../../dataaccess/datasource/DataSource.h" 39 #include "../client/DataTypes.h" 40 #include "../client/WMSClient.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 layerSearchButtonPressed();
94 void imgFormatIndexChanged(
const int& index);
96 void timeDimIndexChanged(
const int& index);
98 void styleIndexChanged(
const int& index);
100 void crsIndexChanged(
const int& index);
102 void transparencyStateChanged(
const int& state);
104 void checkLayerItemChanged(QTreeWidgetItem* item,
int column);
110 void refreshLayerProperties();
112 void refreshMapPreview();
114 std::vector<WMSLayerItem*> getCheckedLayerItens();
116 void setAllLayerItensHidden(
const bool& hide);
120 std::unique_ptr<Ui::WMSLayerSelectorDialogForm>
m_ui;
136 #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.
Configuration flags for the TerraLib WMS QT module.
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