QGIS API Documentation 3.99.0-Master (26c88405ac0)
Loading...
Searching...
No Matches
QgsExtentBufferDialog Class Reference

A dialog which allows the user to modify the extent buffer of a symbol. More...

#include <qgsextentbufferdialog.h>

Inheritance diagram for QgsExtentBufferDialog:

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.
QgsExtentBufferWidgetwidget () const
 Returns the data defined property currently set in the widget.

Detailed Description

A dialog which allows the user to modify the extent buffer of a symbol.

Since
QGIS 3.42

Definition at line 102 of file qgsextentbufferdialog.h.

Constructor & Destructor Documentation

◆ QgsExtentBufferDialog()

QgsExtentBufferDialog::QgsExtentBufferDialog ( QgsSymbol * symbol,
QgsVectorLayer * layer,
QWidget * parent = nullptr )

Constructor for QgsExtentBufferDialog.

QgsExtentBufferDialog.

Definition at line 118 of file qgsextentbufferdialog.cpp.

Member Function Documentation

◆ dataDefinedProperty()

QgsProperty QgsExtentBufferDialog::dataDefinedProperty ( ) const

Returns the extent buffer value currently set in the widget.

Note
returns 0 if widget does not exist
Returns
extent buffer value

Definition at line 157 of file qgsextentbufferdialog.cpp.

◆ extentBuffer()

double QgsExtentBufferDialog::extentBuffer ( ) const

Returns the extent buffer value currently set in the widget.

Definition at line 136 of file qgsextentbufferdialog.cpp.

◆ setContext()

void QgsExtentBufferDialog::setContext ( const QgsSymbolWidgetContext & context)

Sets the context in which widget is shown, e.g., the associated map canvas and expression contexts.

Parameters
contextsymbol widget context

Definition at line 170 of file qgsextentbufferdialog.cpp.

◆ sizeUnit()

Qgis::RenderUnit QgsExtentBufferDialog::sizeUnit ( ) const

Returns the extent buffer unit currently set in the widget.

Definition at line 149 of file qgsextentbufferdialog.cpp.

◆ widget()

QgsExtentBufferWidget * QgsExtentBufferDialog::widget ( ) const

Returns the data defined property currently set in the widget.

Note
returns empty property if widget does not exist
Returns
property

Definition at line 165 of file qgsextentbufferdialog.cpp.


The documentation for this class was generated from the following files: