Class: QgsSubsetStringEditorInterface

Interface for a dialog that can edit subset strings

Added in version 3.18.

Class Hierarchy

Inheritance diagram of qgis.gui.QgsSubsetStringEditorInterface

Base classes

QDialog

QWidget

QObject

QPaintDevice

Subclasses

QgsPointCloudQueryBuilder

Query Builder for layers.

QgsQueryBuilder

Query Builder for layers.

Methods

setSubsetString

Sets a subset string into the dialog.

subsetString

Returns the subset string entered in the dialog.

class qgis.gui.QgsSubsetStringEditorInterface[source]

Bases: QDialog

__init__(parent: QWidget | None = None, fl: Qt.WindowFlags | Qt.WindowType = QgsGuiUtils.ModalDialogFlags)

Constructor

Parameters:
  • parent (Optional[QWidget] = None)

  • fl (Union[Qt.WindowFlags, Qt.WindowType] = QgsGuiUtils.ModalDialogFlags)

setSubsetString(self, subsetString: str | None)[source]

Sets a subset string into the dialog.

Parameters:

subsetString (Optional[str])

subsetString(self) str[source]

Returns the subset string entered in the dialog.

Return type:

str