mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-10-17 19:34:13 +02:00
5cbc1c4b8d
Terminal block elements can now define, in the element properties dialog (Terminal block element group): - the section in mm2 (combo box with the usual sections, editable) - the width / manufacturer reference (Weidmuller, Phoenix Contact, WAGO, ABB Entrelec), filtered by the selected section - the color, using the palette of the terminal strip (editable, accepts a name, #rrggbb or #rrggbb/#rrggbb) Values are stored in the element informations (terminal_section, terminal_width, terminal_color) with the dot as decimal separator, the keys already read by RealTerminal. An empty value removes the key. The sections and the manufacturer widths move from terminalstripmodel.cpp to the new header-only terminalcatalog.h, shared by the terminal strip editor and the element editor.