Class: QgsSubsetStringEditorInterface

Interface for a dialog that can edit subset strings.

Added in version 3.18.

Note

This is an abstract class, with methods which must be implemented by a subclass.

The following methods must be implemented: setSubsetString(), subsetString()

List of all members, including inherited members

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.

Abstract 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)

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

Sets a subset string into the dialog.

Parameters:

subsetString (Optional[str])

abstract subsetString(self) str[source]

Returns the subset string entered in the dialog.

Return type:

str