Class: QgsSmartGroupCondition

QgsSmartGroupCondition

QgsSmartGroupCondition

Class Hierarchy

Inheritance diagram of qgis.gui.QgsSmartGroupCondition

Base classes

QWidget

QObject

QPaintDevice

Methods

constraint

returns the constraint key

destruct

hideRemoveButton

sets the remove button hidden state to 'hide'

parameter

returns the parameter

setConstraint

sets the given constraint

setParameter

sets the given param

Signals

removed

Emitted when the group with the specified id is removed.

class qgis.gui.QgsSmartGroupCondition(id: int, parent: QWidget | None = None)[source]

Bases: QWidget

constraint(self) str[source]

returns the constraint key

Return type:

str

destruct(self)[source]
hideRemoveButton(self, hide: bool)[source]

sets the remove button hidden state to ‘hide’

Parameters:

hide (bool)

parameter(self) str[source]

returns the parameter

Return type:

str

signal removed(id: int)[source]

Emitted when the group with the specified id is removed.

Parameters:

id (int)

setConstraint(self, constraint: str | None)[source]

sets the given constraint

Parameters:

constraint (Optional[str])

setParameter(self, param: str | None)[source]

sets the given param

Parameters:

param (Optional[str])