sec_interp.gui.main_dialog module
Main Dialog Module.
Contains the SecInterpDialog class which is the primary UI for the plugin.
Message/error handling, lifecycle cleanup and manager proxies live in the
dialog_*_mixin modules.
- class sec_interp.gui.main_dialog.SecInterpDialog(*args: Any, **kwargs: Any)
Bases:
DialogLifecycleMixin,DialogMessageMixin,DialogFacadeMixin,SecInterpMainWindowDialog for the SecInterp QGIS plugin.
This dialog provides the user interface and helper methods to populate combo boxes with layers from the current QGIS project (raster and vector layers filtered by geometry type). It also exposes the interface and plugin instance for interaction with the host application.
- iface
The QGIS interface instance.
- Type:
QgsInterface
- messagebar
The message bar widget for notifications.
- Type:
QgsMessageBar
- __init__(iface=None, plugin_instance=None, parent=None) None
Initialize the dialog.
- open_help() None
Open the help file in the default browser based on user locale.
- show_dialog(title: str, message: str, level: str = 'info') Any
Show a message box dialog.
- Parameters:
title – Dialog title.
message – Dialog content.
level – Message level (“info”, “warning”, “critical”, “question”).
- validate_inputs() bool
Validate the inputs from the dialog via DialogInputManager.