GUI Components¶
The API docs in this site intentionally focus on the pure-Python and contract heavy modules. For the UI-heavy modules, a short narrative overview is more useful than a large autogenerated class dump.
Main UI Roles¶
cfd_gui.main_windowowns user actions, top-level layout, run wiring, status updates, and log presentation.cfd_gui.config_editorturns the schema into the tabbed parameter editor and round-trips widget values.cfd_gui.plot_canvasowns matplotlib embedding, numerical/exact overlays, and figure export behavior.
When To Read These Modules¶
- Start with
main_windowwhen you need to change toolbar/menu behavior, run lifecycle wiring, or status/log presentation. - Start with
config_editorwhen you need to change how schema values become widgets or how widgets round-trip values. - Start with
plot_canvaswhen you need to change plotting, figure export, or numerical/exact visualization behavior.
Recommended Reading Order¶
- Read the architecture sections in the developer guide.
- Read the relevant tests for the behavior you want to change.
- Open the UI module only after you know which contract or workflow you are changing.
This keeps the UI layer from feeling more opaque than it really is.