#include "../qet.h"
#include <QtWidgets>
#include <QtXml>
Go to the source code of this file.
|
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...
|
|
|
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.
|
|
◆ 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