QElectroTech 0.100.0-dev
Loading...
Searching...
No Matches
Functions
QETInformation Namespace Reference

Functions

QStringList titleblockInfoKeys ()
 QETInformation::titleblockInfoKeys.
 
QString titleblockInfoKeysToVar (const QString &info)
 QETInformation::titleblockInfoKeysToVar.
 
QHash< QString, QString > titleblockTranslatedKeyHashVar ()
 QETInformation::titleblockTranslatedKeyHashVar.
 
QStringList folioReportInfoKeys ()
 QETInformation::folioReportInfoKey.
 
QHash< QString, QString > folioReportInfoKeyToVar ()
 
QString folioReportInfoToVar (const QString &info)
 
QStringList conductorInfoKeys ()
 
QStringList diagramInfoKeys ()
 
QStringList elementInfoKeys ()
 
QStringList elementEditorElementInfoKeys ()
 
QString elementInfoToVar (const QString &info)
 QETInformation::elementInfoToVar.
 
QStringList terminalElementInfoKeys ()
 
QString infoToVar (const QString &info)
 QETInformation::infoToVar.
 
QString translatedInfoKey (const QString &info)
 QETInformation::translatedInfoKey.
 

Detailed Description

Inside this namespace you will fin all information used in QElectrotech for element, conductor and diagram. Each information have 3 values : #1 the info key = the key of an information as a QString used in the code (example : label) #2 the info key to variable = the key in form of a variable. This is used by the user to replace a variable by the string of this variable (example : %{label}) #3 the info key translated to the current local (example label in dutch = Betriebsmittelkennzeichen)

Function Documentation

◆ conductorInfoKeys()

QStringList QETInformation::conductorInfoKeys ( )
Here is the caller graph for this function:

◆ diagramInfoKeys()

QStringList QETInformation::diagramInfoKeys ( )
Here is the caller graph for this function:

◆ elementEditorElementInfoKeys()

QStringList QETInformation::elementEditorElementInfoKeys ( )
Here is the caller graph for this function:

◆ elementInfoKeys()

QStringList QETInformation::elementInfoKeys ( )
Here is the caller graph for this function:

◆ elementInfoToVar()

QString QETInformation::elementInfoToVar ( const QString &  info)

QETInformation::elementInfoToVar.

Parameters
info
Returns
The info to a variable or %{void} if @info is not an element information
Here is the call graph for this function:
Here is the caller graph for this function:

◆ folioReportInfoKeys()

QStringList QETInformation::folioReportInfoKeys ( )

QETInformation::folioReportInfoKey.

Returns
The info key available for dynamic element text item of a folio report
Here is the caller graph for this function:

◆ folioReportInfoKeyToVar()

QHash< QString, QString > QETInformation::folioReportInfoKeyToVar ( )
Here is the call graph for this function:

◆ folioReportInfoToVar()

QString QETInformation::folioReportInfoToVar ( const QString &  info)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ infoToVar()

QString QETInformation::infoToVar ( const QString &  info)

QETInformation::infoToVar.

Parameters
info
Returns
return the string @info prepended by %{ ans appended by } example : if info is label, the returned string is %{label}
Here is the caller graph for this function:

◆ terminalElementInfoKeys()

QStringList QETInformation::terminalElementInfoKeys ( )
Here is the caller graph for this function:

◆ titleblockInfoKeys()

QStringList QETInformation::titleblockInfoKeys ( )

QETInformation::titleblockInfoKeys.

Returns
all available key for use with a titleblock
Here is the caller graph for this function:

◆ titleblockInfoKeysToVar()

QString QETInformation::titleblockInfoKeysToVar ( const QString &  info)

QETInformation::titleblockInfoKeysToVar.

Parameters
info
Returns
var in form %{my-var} corresponding to the info. if there is not available var for the given info, the returned var is %{void}
Here is the call graph for this function:
Here is the caller graph for this function:

◆ titleblockTranslatedKeyHashVar()

QHash< QString, QString > QETInformation::titleblockTranslatedKeyHashVar ( )

QETInformation::titleblockTranslatedKeyHashVar.

Returns
a QHash with for key, the translated information key of title block, and for value the corresponding var.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ translatedInfoKey()

QString QETInformation::translatedInfoKey ( const QString &  info)

QETInformation::translatedInfoKey.

Parameters
info
Returns
the information translated to the current local. This function translate all information : element, conductor, diagram Return an empty QString if don't match
Here is the caller graph for this function: