kicad2ems.gui.panels¶
GUI building blocks: a collapsible settings section, an image panel (model,
mesh, line model, convergence plots), a row of controls that wraps when narrow.
- class kicad2ems.gui.panels.FlowLayout(parent=None, spacing=6)[source]¶
A row of controls that wraps onto more lines when the panel is narrow (Qt's flow layout example). A drop-in for a QHBoxLayout of controls: addWidget takes (and ignores) a stretch, addStretch / addSpacing do nothing.
- class kicad2ems.gui.panels.ImagePanel(empty='nothing yet')[source]¶
Plots written by a run (PNG), stacked and scaled to the panel's width; a note when there are none.
- class kicad2ems.gui.panels.NeededList[source]¶
What a run of the selected question still needs: a line each, which leads to where it is set (picked: the item, dict(text, key, run)). Nothing needed: it says so; a question not asked and complete: hidden.