Revert "Add cable management: drawing, cores, numbering, cross-references and cable list"

This commit is contained in:
Laurent Trinques
2026-10-10 16:49:39 +02:00
committed by GitHub
parent 738ffbfc36
commit 2bb3343d2d
113 changed files with 209 additions and 18793 deletions
-26
View File
@@ -1845,32 +1845,6 @@ ConductorProperties Conductor::properties() const
return(m_properties);
}
/**
@brief Conductor::setCableReference
Record the cable core this conductor shows, together with the label
that assignment generates. Called only by CableManager, which works
the values out from the cable itself: the user never types them.
@param label the generated cable field, e.g. "15W1:br", empty to
detach the conductor from its cable
@param cable_uuid the cable this conductor is a core of
@param slot which core of that cable it shows, -1 when none
*/
void Conductor::setCableReference(const QString &label,
const QUuid &cable_uuid,
int slot)
{
if (m_properties.m_cable == label
&& m_properties.m_cable_uuid == cable_uuid
&& m_properties.m_cable_slot == slot) {
return;
}
m_properties.m_cable = label;
m_properties.m_cable_uuid = cable_uuid;
m_properties.m_cable_slot = slot;
emit propertiesChange();
}
/**
@return true si le conducteur est mis en evidence
*/