QElectroTech  0.8-dev
Classes | Functions
terminal.h File Reference
#include <QtWidgets>
#include <QtXml>
#include "qet.h"
Include dependency graph for terminal.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Terminal
 The Terminal class This class represents a terminal of an electrical element, i.e. a possible plug point for conductors. This class handles all mouse events for connecting conductors. More...
 

Functions

QList< Terminal * > relatedPotentialTerminal (const Terminal *terminal, const bool all_diagram=true)
 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: