kicad2ems.gui.winconfigs¶
The main window's configs (app.py): the examples and the recent files, a
config's study and analyses' settings read and written, a file dropped on the
window.
- class kicad2ems.gui.winconfigs.WindowConfigs[source]¶
MainWindow's configs and examples.
- analysis_tables(path)[source]¶
{analysis: its [analysis.<name>] table, or [tables] for a page with several runs} of the panels as they are, paths relative to the config at `path`; an analysis with nothing set is left out.
- dropEvent(e)[source]¶
A config opens; a board (.kicad_pcb, a run's board.json, a Gerber job) becomes the board; a folder's results open.
- load_analyses(doc=None)[source]¶
A config's study into the list and each analysis's settings into its panel, the others' cleared: from the document read (document.StudyDocument: its [study] tables, else the analyses [analysis] run names; neither: S-parameters), or a config's path, read here. None: a new study, nothing set. What this window cannot show (an analysis not installed, a question with no engine here, an analysis's other tables) stays in the document, and is saved back.
- open_example(name)[source]¶
An example: made (its board generated, its files copied) in a thread, then loaded; the window had waited on the generator (R-D22).