mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-06-10 12:53:14 +02:00
7426fedba3
When a slave element has named terminals in its element definition (.elmt), the terminal names (e.g. 13/14 for NO, 11/12 for NC, 12/13/14 for SW) are now displayed on each side of the contact symbol in the cross-reference view. - NO/NC contacts: name[0] on the left, name[1] on the right - SW contacts: name[0] (NO) top-left, name[1] (common) top-right, name[2] (NC) bottom-left Terminal names are read from Terminal::name() which is populated from TerminalData::m_name during element parsing. If terminals are not named, nothing is displayed (fully backward compatible). Users are expected to name their own terminals in the element editor to avoid duplicating elements in the official collection.