sec_interp.gui.main_dialog_utils module

UI utility module for SecInterp main dialog.

This module provides helper methods for layer filtering and field population.

class sec_interp.gui.main_dialog_utils.DialogEntityManager

Bases: object

Provides utility methods for interacting with QGIS entities.

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

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]

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

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

Get a theme icon from QGIS.

static populate_field_combobox(source_combobox, target_combobox) None

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