QElectroTech 0.100.0-dev
Loading...
Searching...
No Matches
Functions
diagram.cpp File Reference
#include "diagram.h"
#include "ElementsCollection/elementcollectionhandler.h"
#include "TerminalStrip/GraphicsItem/terminalstripitem.h"
#include "xml/terminalstripitemxml.h"
#include "QPropertyUndoCommand/qpropertyundocommand.h"
#include "diagramcontent.h"
#include "diagramevent/diagrameventinterface.h"
#include "diagramposition.h"
#include "factory/elementfactory.h"
#include "qetapp.h"
#include "qetgraphicsitem/ViewItem/qetgraphicstableitem.h"
#include "qetgraphicsitem/conductor.h"
#include "qetgraphicsitem/conductortextitem.h"
#include "qetgraphicsitem/diagramimageitem.h"
#include "qetgraphicsitem/dynamicelementtextitem.h"
#include "qetgraphicsitem/element.h"
#include "qetgraphicsitem/elementtextitemgroup.h"
#include "qetgraphicsitem/independenttextitem.h"
#include "qetgraphicsitem/qetshapeitem.h"
#include "qetgraphicsitem/terminal.h"
#include "qetxml.h"
#include "undocommand/addelementtextcommand.h"
#include <cassert>
#include <math.h>
Include dependency graph for diagram.cpp:

Functions

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
 

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: