QGIS API Documentation 3.28.0-Firenze (ed3ad0430f)
|
Base class for widgets which allow customization of a provider's source URI. More...
#include <qgsprovidersourcewidget.h>
Signals | |
void | validChanged (bool isValid) |
Emitted whenever the validation status of the widget changes. More... | |
Public Member Functions | |
QgsProviderSourceWidget (QWidget *parent=nullptr) | |
Constructor for QgsProviderSourceWidget with the specified parent widget. More... | |
virtual QgsMapCanvas * | mapCanvas () |
Returns the map canvas associated with the widget. More... | |
virtual void | setMapCanvas (QgsMapCanvas *mapCanvas) |
Sets a map canvas associated with the widget. More... | |
virtual void | setSourceUri (const QString &uri)=0 |
Sets the source uri to show in the widget. More... | |
virtual QString | sourceUri () const =0 |
Returns the source URI as currently defined by the widget. More... | |
Base class for widgets which allow customization of a provider's source URI.
Definition at line 32 of file qgsprovidersourcewidget.h.
QgsProviderSourceWidget::QgsProviderSourceWidget | ( | QWidget * | parent = nullptr | ) |
Constructor for QgsProviderSourceWidget with the specified parent widget.
Definition at line 21 of file qgsprovidersourcewidget.cpp.
|
inlinevirtual |
Returns the map canvas associated with the widget.
Definition at line 69 of file qgsprovidersourcewidget.h.
|
inlinevirtual |
Sets a map canvas associated with the widget.
Reimplemented in QgsOWSSourceWidget.
Definition at line 62 of file qgsprovidersourcewidget.h.
|
pure virtual |
|
pure virtual |
Returns the source URI as currently defined by the widget.
Implemented in QgsOWSSourceWidget.
|
signal |
Emitted whenever the validation status of the widget changes.
If isValid is false
then the widget is not valid, and any dialog using the widget should be prevented from being accepted.