QGIS API Documentation 3.41.0-Master (57ec4277f5e)
|
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. | |
Public Member Functions | |
QgsAnnotationItemCommonPropertiesWidget (QWidget *parent) | |
Constructor for QgsAnnotationItemCommonPropertiesWidget. | |
~QgsAnnotationItemCommonPropertiesWidget () override | |
QgsSymbolWidgetContext | context () const |
Returns the context in which the widget is shown, e.g., the associated map canvas and expression contexts. | |
void | setContext (const QgsSymbolWidgetContext &context) |
Sets the context in which the widget is shown, e.g., the associated map canvas and expression contexts. | |
void | setItem (QgsAnnotationItem *item) |
Sets the item whose properties should be shown in the widget. | |
void | updateItem (QgsAnnotationItem *item) |
Updates an item, setting the properties defined in the widget. | |
A widget for configuring common properties for QgsAnnotationItems.
Definition at line 35 of file qgsannotationitemcommonpropertieswidget.h.
QgsAnnotationItemCommonPropertiesWidget::QgsAnnotationItemCommonPropertiesWidget | ( | QWidget * | parent | ) |
Constructor for QgsAnnotationItemCommonPropertiesWidget.
Definition at line 23 of file qgsannotationitemcommonpropertieswidget.cpp.
|
overridedefault |
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 78 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 70 of file qgsannotationitemcommonpropertieswidget.cpp.
void QgsAnnotationItemCommonPropertiesWidget::setItem | ( | QgsAnnotationItem * | item | ) |
Sets the item whose properties should be shown in the widget.
Definition at line 52 of file qgsannotationitemcommonpropertieswidget.cpp.
void QgsAnnotationItemCommonPropertiesWidget::updateItem | ( | QgsAnnotationItem * | item | ) |
Updates an item, setting the properties defined in the widget.
Definition at line 62 of file qgsannotationitemcommonpropertieswidget.cpp.