QGIS API Documentation 3.41.0-Master (cea29feecf2)
|
A dialog which allows the user to modify the extent buffer of a symbol. More...
#include <qgsextentbufferdialog.h>
Public Member Functions | |
QgsExtentBufferDialog (QgsSymbol *symbol, QgsVectorLayer *layer, QWidget *parent=nullptr) | |
Constructor for QgsExtentBufferDialog. | |
QgsProperty | dataDefinedProperty () const |
Returns the extent buffer value currently set in the widget. | |
double | extentBuffer () const |
Returns the extent buffer value currently set in the widget. | |
void | setContext (const QgsSymbolWidgetContext &context) |
Sets the context in which widget is shown, e.g., the associated map canvas and expression contexts. | |
Qgis::RenderUnit | sizeUnit () const |
Returns the extent buffer unit currently set in the widget. | |
QgsExtentBufferWidget * | widget () const |
Returns the data defined property currently set in the widget. | |
A dialog which allows the user to modify the extent buffer of a symbol.
Definition at line 100 of file qgsextentbufferdialog.h.
QgsExtentBufferDialog::QgsExtentBufferDialog | ( | QgsSymbol * | symbol, |
QgsVectorLayer * | layer, | ||
QWidget * | parent = nullptr |
||
) |
Constructor for QgsExtentBufferDialog.
Definition at line 115 of file qgsextentbufferdialog.cpp.
QgsProperty QgsExtentBufferDialog::dataDefinedProperty | ( | ) | const |
Returns the extent buffer value currently set in the widget.
Definition at line 154 of file qgsextentbufferdialog.cpp.
double QgsExtentBufferDialog::extentBuffer | ( | ) | const |
Returns the extent buffer value currently set in the widget.
Definition at line 133 of file qgsextentbufferdialog.cpp.
void QgsExtentBufferDialog::setContext | ( | const QgsSymbolWidgetContext & | context | ) |
Sets the context in which widget is shown, e.g., the associated map canvas and expression contexts.
context | symbol widget context |
Definition at line 167 of file qgsextentbufferdialog.cpp.
Qgis::RenderUnit QgsExtentBufferDialog::sizeUnit | ( | ) | const |
Returns the extent buffer unit currently set in the widget.
Definition at line 146 of file qgsextentbufferdialog.cpp.
QgsExtentBufferWidget * QgsExtentBufferDialog::widget | ( | ) | const |
Returns the data defined property currently set in the widget.
Definition at line 162 of file qgsextentbufferdialog.cpp.