|
QGIS API Documentation 3.30.0-'s-Hertogenbosch (f186b8efe0)
|
A widget for configuring common properties for QgsAnnotationItems. More...
#include <qgsannotationitemcommonpropertieswidget.h>

Signals | |
| void | itemChanged () |
| Emitted when the annotation item definition in the widget is changed by the user. More... | |
Public Member Functions | |
| QgsAnnotationItemCommonPropertiesWidget (QWidget *parent) | |
| Constructor for QgsAnnotationItemCommonPropertiesWidget. More... | |
| QgsSymbolWidgetContext | context () const |
| Returns the context in which the widget is shown, e.g., the associated map canvas and expression contexts. More... | |
| void | setContext (const QgsSymbolWidgetContext &context) |
| Sets the context in which the widget is shown, e.g., the associated map canvas and expression contexts. More... | |
| void | setItem (QgsAnnotationItem *item) |
| Sets the item whose properties should be shown in the widget. More... | |
| void | updateItem (QgsAnnotationItem *item) |
| Updates an item, setting the properties defined in the widget. More... | |
A widget for configuring common properties for QgsAnnotationItems.
Definition at line 34 of file qgsannotationitemcommonpropertieswidget.h.
| QgsAnnotationItemCommonPropertiesWidget::QgsAnnotationItemCommonPropertiesWidget | ( | QWidget * | parent | ) |
Constructor for QgsAnnotationItemCommonPropertiesWidget.
Definition at line 19 of file qgsannotationitemcommonpropertieswidget.cpp.
| QgsSymbolWidgetContext QgsAnnotationItemCommonPropertiesWidget::context | ( | ) | const |
Returns the context in which the widget is shown, e.g., the associated map canvas and expression contexts.
Definition at line 65 of file qgsannotationitemcommonpropertieswidget.cpp.
|
signal |
Emitted when the annotation item definition in the widget is changed by the user.
| void QgsAnnotationItemCommonPropertiesWidget::setContext | ( | const QgsSymbolWidgetContext & | context | ) |
Sets the context in which the widget is shown, e.g., the associated map canvas and expression contexts.
Definition at line 57 of file qgsannotationitemcommonpropertieswidget.cpp.
| void QgsAnnotationItemCommonPropertiesWidget::setItem | ( | QgsAnnotationItem * | item | ) |
Sets the item whose properties should be shown in the widget.
Definition at line 43 of file qgsannotationitemcommonpropertieswidget.cpp.
| void QgsAnnotationItemCommonPropertiesWidget::updateItem | ( | QgsAnnotationItem * | item | ) |
Updates an item, setting the properties defined in the widget.
Definition at line 50 of file qgsannotationitemcommonpropertieswidget.cpp.