Base class for widgets which allow control over the properties of callouts.
More...
#include <qgscalloutwidget.h>
|
void | changed () |
| Should be emitted whenever configuration changes happened on this symbol layer configuration. More...
|
|
Base class for widgets which allow control over the properties of callouts.
- Since
- QGIS 3.10
Definition at line 34 of file qgscalloutwidget.h.
◆ QgsCalloutWidget()
QgsCalloutWidget::QgsCalloutWidget |
( |
QWidget * |
parent, |
|
|
QgsVectorLayer * |
vl = nullptr |
|
) |
| |
|
inline |
◆ callout()
virtual QgsCallout * QgsCalloutWidget::callout |
( |
| ) |
|
|
pure virtual |
Returns the callout defined by the current settings in the widget.
Ownership is not transferred, and the caller should clone the returned value.
- See also
- setCallout()
◆ changed
void QgsCalloutWidget::changed |
( |
| ) |
|
|
signal |
Should be emitted whenever configuration changes happened on this symbol layer configuration.
If the subsymbol is changed, symbolChanged() should be emitted instead.
◆ context()
Returns the context in which the symbol widget is shown, e.g., the associated map canvas and expression contexts.
- See also
- setContext()
◆ createExpressionContext()
This method needs to be reimplemented in all classes which implement this interface and return an expression context.
- Since
- QGIS 3.0
Implements QgsExpressionContextGenerator.
◆ registerDataDefinedButton()
Registers a data defined override button.
Handles setting up connections for the button and initializing the button to show the correct descriptions and help text for the associated property.
◆ setCallout()
virtual void QgsCalloutWidget::setCallout |
( |
QgsCallout * |
callout | ) |
|
|
pure virtual |
Sets the callout to show in the widget.
Ownership is not transferred.
- See also
- callout()
◆ setContext()
Sets the context in which the symbol widget is shown, e.g., the associated map canvas and expression contexts.
- Parameters
-
context | symbol widget context |
- See also
- context()
◆ setGeometryType()
Sets the geometry type of the features to customize the widget accordingly.
◆ vectorLayer()
Returns the vector layer associated with the widget.
Definition at line 79 of file qgscalloutwidget.h.
The documentation for this class was generated from the following file: