Skip to content

← Back to widgets

TopologyControlsWidget

Source: Distributed_Design_Optimizer/postprocess/widgets/TopologyControlsWidget.py

Widget providing controls for selecting and launching topology analyses.

Classes

TopologyControlsWidget

Inherits from: QWidget

Controls for selecting and launching topology analysis.

Methods

init(self, parent: QWidget | None) → None

Initialize the topology controls widget.

Args:

parent: Optional parent widget.

get_config(self) → AnalysisConfig

Build an AnalysisConfig from current widget state.

Returns:

AnalysisConfig populated with the selected analysis type and mode.

showEvent(self, event) → None

Re-apply accent color when the widget becomes visible.

Args:

event: The show event.