mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-10-19 20:44:16 +02:00
ddc71553e2
TerminalStripItem was connected to nothing: after applying the terminal strip editor (width, catalog terminal, color, type...), undo or redo, the strip drawn on the folio kept its old drawing until something else made the scene repaint, and its bounding rect was not updated when the width of the terminals changed. - TerminalStrip::dataChanged() is emitted when the data of the strip is set, and when the data of the element of one of its terminals changes (Element::setElementData(), Element::setElementInformations()). - TerminalStripItem connects to dataChanged(), orderChanged(), bridgeChanged() and bridgeColorChanged() of its strip, and updates its geometry and redraws itself.