mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-18 05:00:33 +01:00
Dynamic element text item :
when text is owned by a folio report, the only information available to the text is : the label (formula used for the Xref between linked report), the function of the potential and tension/protocol of the potential. Unlike other elements there is no more information, because a report is not a real element. git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5039 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -315,6 +315,7 @@ QString QETApp::elementTranslatedInfoKey(const QString &info)
|
||||
else if (info == "machine-manufacturer-reference") return tr("Référence fabricant machine");
|
||||
else if (info == "location") return tr("Localisation");
|
||||
else if (info == "function") return tr("Fonction");
|
||||
else if (info == "tension-protocol") return tr("Tension / Protocole");
|
||||
return (info);
|
||||
}
|
||||
|
||||
@@ -337,6 +338,7 @@ QString QETApp::elementInfoToVar(const QString &info)
|
||||
else if (info == "machine-manufacturer-reference") return QString("%{machine-manufacturer-reference}");
|
||||
else if (info == "location") return QString("%{location}");
|
||||
else if (info == "function") return QString("%{function}");
|
||||
else if (info == "tension-protocol") return QString("%{tension-protocol}");
|
||||
|
||||
return (QString ("%{void}"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user