4 #include "../../../core/Exception.h" 5 #include "../../../../core/translator/Translator.h" 6 #include "../../../../dataaccess/datasource/DataSource.h" 7 #include "../../../../dataaccess/datasource/DataSourceManager.h" 8 #include "../dataaccess/WMS2Layer.h" 31 std::list<te::map::AbstractLayerPtr> layers;
37 if(datasource.get() ==
nullptr)
41 if(datasource.get() ==
nullptr)
45 if(!datasource->isOpened())
50 ldialog->set(*it,
true);
52 int retval = ldialog->exec();
54 if(retval == QDialog::Rejected)
57 std::vector<te::ws::ogc::wms::WMSGetMapRequest>
requests = ldialog->getCheckedRequests();
std::list< te::map::AbstractLayerPtr > getLayers()
boost::shared_ptr< DataSource > DataSourcePtr
This set of XML Schema Documents for GML Version has been edited to reflect the corrigendum to documents and OGC that is based on the change requests
#define TE_TR(message)
It marks a string in order to get translated.
boost::error_info< struct tag_error_description, std::string > ErrorDescription
The base type for error report messages.
A simple widget that allows the selection of datasets from a given WMS server.
static DataSourceManager & getInstance()
It returns a reference to the singleton instance.
Base exception class for WS Core Runtime Library.
A dialog window to show GetCapabilities data from a WMS Server.
A dialog window to show GetCapabilities data from a WMS Server.
void set(const std::list< te::da::DataSourceInfoPtr > &datasources)
std::list< te::da::DataSourceInfoPtr > m_datasources
WMSLayerSelector(QWidget *parent=0, Qt::WindowFlags f=0)