![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
Dialog for connecting to an OGC WMTS service and selecting a layer to add. More...
#include <wmtsconnectiondialog.h>
Public Member Functions | |
| WMTSConnectionDialog (QWidget *parent=nullptr) | |
| ~WMTSConnectionDialog () override | |
| WMTSLayer * | createLayer (QObject *parent=nullptr) const |
| Returns a configured WMTSLayer for the user's selection. | |
Dialog for connecting to an OGC WMTS service and selecting a layer to add.
Own implementation — no QGIS dependency. The dialog allows the user to:
Recently used WMTS URLs are persisted in QSettings.
Usage:
|
explicit |
|
override |
| WMTSLayer * WMTSConnectionDialog::createLayer | ( | QObject * | parent = nullptr | ) | const |
Returns a configured WMTSLayer for the user's selection.
Caller takes ownership. Returns nullptr if rejected.