QElectroTech 0.100.0-dev
|
#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>
Functions | |
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 | |
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
conductor_index | 1 or 2 depending on which terminal is searched |
f | Conductor xml element |
table_adr_id | Hash table to all terminal id assignement (legacy) |
added_elements | Elements found in the xml file |