QElectroTech  0.8-dev
Functions
diagram.cpp File Reference
#include <math.h>
#include <cassert>
#include "qetgraphicsitem/conductor.h"
#include "qetgraphicsitem/conductortextitem.h"
#include "factory/elementfactory.h"
#include "diagram.h"
#include "diagramcommands.h"
#include "diagramcontent.h"
#include "diagramposition.h"
#include "exportdialog.h"
#include "qetgraphicsitem/independenttextitem.h"
#include "qetgraphicsitem/diagramimageitem.h"
#include "qetgraphicsitem/qetshapeitem.h"
#include "terminal.h"
#include "diagrameventinterface.h"
#include "qetapp.h"
#include "elementcollectionhandler.h"
#include "element.h"
#include "diagramview.h"
#include "dynamicelementtextitem.h"
#include "elementtextitemgroup.h"
#include "undocommand/addelementtextcommand.h"
#include "QPropertyUndoCommand/qpropertyundocommand.h"
#include "qetgraphicstableitem.h"
#include "qetxml.h"
#include "elementprovider.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 More...
 

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: