Class: QgsSmartGroupEditorDialog

QgsSmartGroupEditorDialog

QgsSmartGroupEditorDialog

Class Hierarchy

Inheritance diagram of qgis.gui.QgsSmartGroupEditorDialog

Base classes

QDialog

QWidget

QObject

QPaintDevice

Methods

addCondition

function to create a new ConditionBox and update UI

conditionOperator

returns the AND/OR condition

removeCondition

slot to remove the condition with id int

setOperator

sets the operator AND/OR

setSmartgroupName

sets the smart group Name

smartgroupName

returns the value from mNameLineEdit

class qgis.gui.QgsSmartGroupEditorDialog(style: QgsStyle | None, parent: QWidget | None = None)[source]

Bases: QDialog

addCondition(self)[source]

function to create a new ConditionBox and update UI

conditionOperator(self) str[source]

returns the AND/OR condition

Return type:

str

removeCondition(self, a0: int)[source]

slot to remove the condition with id int

Parameters:

a0 (int)

setOperator(self, a0: str | None)[source]

sets the operator AND/OR

Parameters:

a0 (Optional[str])

setSmartgroupName(self, a0: str | None)[source]

sets the smart group Name

Parameters:

a0 (Optional[str])

smartgroupName(self) str[source]

returns the value from mNameLineEdit

Return type:

str