QElectroTech 0.100.0-dev
Loading...
Searching...
No Matches
Classes | Macros | Functions
conductor.cpp File Reference
#include "../qetgraphicsitem/conductor.h"
#include "../QPropertyUndoCommand/qpropertyundocommand.h"
#include "../autoNum/numerotationcontextcommands.h"
#include "../conductorautonumerotation.h"
#include "../conductorsegment.h"
#include "../conductorsegmentprofile.h"
#include "../diagram.h"
#include "../diagramcommands.h"
#include "../qetdiagrameditor.h"
#include "../qetgraphicsitem/terminal.h"
#include "../ui/conductorpropertiesdialog.h"
#include "conductortextitem.h"
#include "element.h"
#include "../QetGraphicsItemModeler/qetgraphicshandleritem.h"
#include "../utils/qetutils.h"
#include <QMultiHash>
#include <QtDebug>
Include dependency graph for conductor.cpp:

Classes

class  ConductorXmlRetroCompatibility
 

Macros

#define PR(x)   qDebug() << #x " = " << x;
 

Functions

bool isContained (const QPointF &a, const QPointF &b, const QPointF &c)
 
ConductorlonguestConductorInPotential (Conductor *conductor, bool all_diagram)
 longuestConductorInPotential
 
QList< Conductor * > relatedConductors (const Conductor *conductor)
 relatedConductors
 

Macro Definition Documentation

◆ PR

#define PR (   x)    qDebug() << #x " = " << x;

Function Documentation

◆ isContained()

bool isContained ( const QPointF &  a,
const QPointF &  b,
const QPointF &  c 
)
Parameters
apoint
bpoint
cpoint
Returns
true si le point a est contenu dans le rectangle delimite par les points b et c
Here is the call graph for this function:
Here is the caller graph for this function:

◆ longuestConductorInPotential()

Conductor * longuestConductorInPotential ( Conductor conductor,
bool  all_diagram 
)

longuestConductorInPotential

Parameters
conductor: a conductor in the potential to search
all_diagram: true -> search in the whole project, false -> search only in the diagram of conductor
Returns
the longuest conductor in the same potential of conductor
Here is the call graph for this function:
Here is the caller graph for this function:

◆ relatedConductors()

QList< Conductor * > relatedConductors ( const Conductor conductor)

relatedConductors

Parameters
conductor
Returns
return all conductors who share the same terminals of conductor given as parameter, except conductor itself.
Here is the call graph for this function:
Here is the caller graph for this function: