QElectroTech 0.100.0-dev
Loading...
Searching...
No Matches
Functions
terminal.cpp File Reference
#include "../qetgraphicsitem/terminal.h"
#include "../conductorautonumerotation.h"
#include "../diagram.h"
#include "../undocommand/addgraphicsobjectcommand.h"
#include "../properties/terminaldata.h"
#include "../qetgraphicsitem/conductor.h"
#include "../qetgraphicsitem/element.h"
#include "conductortextitem.h"
#include <utility>
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.
 

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: