sec_interp.gui.dialog_lifecycle_mixin module

Lifecycle and cleanup mixin for the SecInterp main dialog.

class sec_interp.gui.dialog_lifecycle_mixin.DialogLifecycleMixin

Bases: object

Wheel handling and deterministic resource cleanup on close.

closeEvent(event: Any) → None

Handle dialog close event to clean up all resources.

wheelEvent(event: Any) → None

Handle mouse wheel for zooming in preview via navigation_manager.