mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-09-29 05:44:14 +02:00
884ec4bbb9
checkboxes to the element editor These elementInformation keys were previously only editable on an already-placed instance (via ElementInfoWidget on the diagram side). Since elementInformation values are seeded from the .elmt file's own <elementInformations> block at placement time, a symbol author had no proper way to set these as the *default* for every future placement -- only a workaround via the generic, unvalidated key/value tree. Adds dedicated checkboxes to ElementPropertiesEditorWidget, mirroring ElementInfoWidget's own labels/behavior: auto_num_locked and potential_isolating inside the existing terminal-only group (m_terminal_gb, shown only for ElementData::Terminal), exclude_from_bom always visible regardless of type. Written after the generic tree loop so they take precedence over any stale raw entry for the same key. No new storage or file format change -- purely a missing editor UI for an already-existing mechanism.