mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-10-13 16:34:14 +02:00
a44e816d59
The project's terminal strips -- strip information, the terminals of each physical terminal by level, bridges and what they bridge -- move to four tables of project.sqlite, when rebuilding them from the rows gives the same XML exactly (as QElectroTech writes them). Anything else, or strips that carry text a save would not write, stays in project.xml. Test: tst_qetcontainer::terminalStripsInDatabase (two strips with a bridge and a two-level terminal on industrial.qet's own terminals: out of project.xml, back exactly; stays in the XML when the rebuild is broken). Outside ctest: a strip fixture saved as .qetz then .qet by QElectroTech equals its straight resave, and the strips are rows any SQLite tool reads. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019Wga9B92BNurDEtxxtCDxf