QElectroTech  0.8-dev
Functions
terminal.cpp File Reference
#include "terminal.h"
#include <utility>
#include "diagram.h"
#include "qetgraphicsitem/element.h"
#include "qetgraphicsitem/conductor.h"
#include "diagramcommands.h"
#include "conductorautonumerotation.h"
#include "conductortextitem.h"
#include "terminaldata.h"
Include dependency graph for terminal.cpp:

Functions

QList< Terminal * > relatedPotentialTerminal (const Terminal *terminal, const bool all_diagram)
 Conductor::relatedPotentialTerminal Return terminal at the same potential from the same parent element of terminal. For folio report, return the terminal of linked other report. For Terminal element, return the other terminal of terminal element. More...
 

Function Documentation

◆ relatedPotentialTerminal()

QList<Terminal *> relatedPotentialTerminal ( const Terminal terminal,
const bool  all_diagram 
)

Conductor::relatedPotentialTerminal Return terminal at the same potential from the same parent element of terminal. For folio report, return the terminal of linked other report. For Terminal element, return the other terminal of terminal element.

Parameters
terminal: to start search
all_diagram:if true return all related terminal, false return only terminal in the same diagram of t
Returns
the list of terminal at the same potential
Here is the call graph for this function:
Here is the caller graph for this function: