QElectroTech 0.200.1-dev
Loading...
Searching...
No Matches
diagram.cpp File Reference
Include dependency graph for diagram.cpp:

Namespaces

namespace  anonymous_namespace{diagram.cpp}

Functions

QString anonymous_namespace{diagram.cpp}::elementSortKey (Element *elmt)
QString anonymous_namespace{diagram.cpp}::terminalSortKey (Terminal *terminal)
QString anonymous_namespace{diagram.cpp}::conductorSortKey (Conductor *cond)
TerminalfindTerminal (int conductor_index, QDomElement &f, QHash< int, Terminal * > &table_adr_id, QList< Element * > &added_elements)
 findTerminal Find terminal to which the conductor should be connected
QString anonymous_namespace{diagram.cpp}::positionKey (const QPointF &pos)

Function Documentation

◆ findTerminal()

Terminal * findTerminal ( int conductor_index,
QDomElement & f,
QHash< int, Terminal * > & table_adr_id,
QList< Element * > & added_elements )

findTerminal Find terminal to which the conductor should be connected

Parameters
conductor_index1 or 2 depending on which terminal is searched
fConductor xml element
table_adr_idHash table to all terminal id assignement (legacy)
added_elementsElements found in the xml file
Returns
Here is the caller graph for this function: