QGIS API Documentation
3.22.4-Białowieża (ce8e65e95e)
|
Encapsulates the context for a QgsMapLayerConfigWidget. More...
#include <qgsmaplayerconfigwidget.h>
Public Member Functions | |
QString | annotationId () const |
Returns the item ID of the target annotation, when modifying an annotation from a QgsAnnotationLayer. More... | |
QgsMapCanvas * | mapCanvas () const |
Returns the map canvas associated with the widget. More... | |
QgsMessageBar * | messageBar () const |
Returns the message bar associated with the widget. More... | |
void | setAnnotationId (const QString &id) |
Sets the item id of the target annotation, when modifying an annotation from a QgsAnnotationLayer. More... | |
void | setMapCanvas (QgsMapCanvas *canvas) |
Sets the map canvas associated with the widget. More... | |
void | setMessageBar (QgsMessageBar *bar) |
Sets the message bar associated with the widget. More... | |
Encapsulates the context for a QgsMapLayerConfigWidget.
Definition at line 34 of file qgsmaplayerconfigwidget.h.
|
inline |
Returns the item ID of the target annotation, when modifying an annotation from a QgsAnnotationLayer.
Definition at line 44 of file qgsmaplayerconfigwidget.h.
|
inline |
Returns the map canvas associated with the widget.
Definition at line 66 of file qgsmaplayerconfigwidget.h.
|
inline |
Returns the message bar associated with the widget.
Definition at line 79 of file qgsmaplayerconfigwidget.h.
|
inline |
Sets the item id of the target annotation, when modifying an annotation from a QgsAnnotationLayer.
Definition at line 52 of file qgsmaplayerconfigwidget.h.
|
inline |
Sets the map canvas associated with the widget.
This allows the widget to retrieve the current map scale and other properties from the canvas.
Definition at line 60 of file qgsmaplayerconfigwidget.h.
|
inline |
Sets the message bar associated with the widget.
This allows the widget to push feedback messages to the appropriate message bar.
Definition at line 73 of file qgsmaplayerconfigwidget.h.