sec_interp.gui.main_dialog_utils module

class sec_interp.gui.main_dialog_utils.DialogEntityManager[source]

Bases: object

Provides utility methods for interacting with QGIS entities.

static get_layer_names_by_geometry(geometry_type: qgis.core.QgsWkbTypes.GeometryType) list[str][source]

Get a list of layer names filtered by the specified geometry type.

static get_layer_names_by_type(layer_type: qgis.core.QgsMapLayer.LayerType) list[str][source]

Get a list of layer names filtered by the specified layer type.

static get_theme_icon(name: str) qgis.PyQt.QtGui.QIcon[source]

Get a theme icon from QGIS.

static populate_field_combobox(source_combobox, target_combobox) None[source]

Populate a combobox with field names from a selected vector layer.