QGIS API Documentation 3.39.0-Master (93ce9bf5c90)
Loading...
Searching...
No Matches
Public Member Functions | List of all members
QgsOWSSourceWidget Class Reference

This widget sets and updates OWS layers source URI. More...

#include <qgsowssourcewidget.h>

Inheritance diagram for QgsOWSSourceWidget:
Inheritance graph
[legend]

Public Member Functions

 QgsOWSSourceWidget (const QString &providerKey, QWidget *parent=nullptr)
 Constructor for QgsOWSSourceWidget with the specified provider key and parent widget.
 
QgsRectangle extent () const
 Returns the spatial extent from the widget extent box.
 
void setExtent (const QgsRectangle &extent)
 Sets the spatial extent in the widget extent box.
 
void setMapCanvas (QgsMapCanvas *canvas) override
 Sets a map canvas associated with the widget.
 
void setSourceUri (const QString &uri) override
 Sets the source uri to show in the widget.
 
QString sourceUri () const override
 Returns the source URI as currently defined by the widget.
 
- Public Member Functions inherited from QgsProviderSourceWidget
 QgsProviderSourceWidget (QWidget *parent=nullptr)
 Constructor for QgsProviderSourceWidget with the specified parent widget.
 
virtual QString groupTitle () const
 Returns an optional group title for the source settings, for use in layer properties dialogs.
 
virtual QgsMapCanvasmapCanvas ()
 Returns the map canvas associated with the widget.
 

Additional Inherited Members

- Signals inherited from QgsProviderSourceWidget
void changed ()
 Emitted whenever the configuration of the widget changes.
 
void validChanged (bool isValid)
 Emitted whenever the validation status of the widget changes.
 

Detailed Description

This widget sets and updates OWS layers source URI.

Since
QGIS 3.26

Definition at line 34 of file qgsowssourcewidget.h.

Constructor & Destructor Documentation

◆ QgsOWSSourceWidget()

QgsOWSSourceWidget::QgsOWSSourceWidget ( const QString &  providerKey,
QWidget *  parent = nullptr 
)

Constructor for QgsOWSSourceWidget with the specified provider key and parent widget.

Definition at line 25 of file qgsowssourcewidget.cpp.

Member Function Documentation

◆ extent()

QgsRectangle QgsOWSSourceWidget::extent ( ) const

Returns the spatial extent from the widget extent box.

Since
QGIS 3.26

Definition at line 69 of file qgsowssourcewidget.cpp.

◆ setExtent()

void QgsOWSSourceWidget::setExtent ( const QgsRectangle extent)

Sets the spatial extent in the widget extent box.

Since
QGIS 3.26

Definition at line 54 of file qgsowssourcewidget.cpp.

◆ setMapCanvas()

void QgsOWSSourceWidget::setMapCanvas ( QgsMapCanvas mapCanvas)
overridevirtual

Sets a map canvas associated with the widget.

Since
QGIS 3.26

Reimplemented from QgsProviderSourceWidget.

Definition at line 37 of file qgsowssourcewidget.cpp.

◆ setSourceUri()

void QgsOWSSourceWidget::setSourceUri ( const QString &  uri)
overridevirtual

Sets the source uri to show in the widget.

See also
sourceUri()

Implements QgsProviderSourceWidget.

Definition at line 74 of file qgsowssourcewidget.cpp.

◆ sourceUri()

QString QgsOWSSourceWidget::sourceUri ( ) const
overridevirtual

Returns the source URI as currently defined by the widget.

See also
setSourceUri()

Implements QgsProviderSourceWidget.

Definition at line 104 of file qgsowssourcewidget.cpp.


The documentation for this class was generated from the following files: