QGIS API Documentation 3.41.0-Master (cea29feecf2)
Loading...
Searching...
No Matches
Public Member Functions | List of all members
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:
Inheritance graph
[legend]

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 100 of file qgsextentbufferdialog.h.

Constructor & Destructor Documentation

◆ QgsExtentBufferDialog()

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

Constructor for QgsExtentBufferDialog.

QgsExtentBufferDialog.

Definition at line 115 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 154 of file qgsextentbufferdialog.cpp.

◆ extentBuffer()

double QgsExtentBufferDialog::extentBuffer ( ) const

Returns the extent buffer value currently set in the widget.

Definition at line 133 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 167 of file qgsextentbufferdialog.cpp.

◆ sizeUnit()

Qgis::RenderUnit QgsExtentBufferDialog::sizeUnit ( ) const

Returns the extent buffer unit currently set in the widget.

Definition at line 146 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 162 of file qgsextentbufferdialog.cpp.


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