mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-05-21 04:29:58 +02:00
Nomenclature add field Auxiliary_x-contact-bloc
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4196 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -90,6 +90,8 @@ QString nomenclature::getNomenclature() {
|
||||
""+ tr("Commentaire") +";"
|
||||
""+ tr("Fabricant") +";"
|
||||
""+ tr("Reference") +";"
|
||||
""+ tr("Bloc auxilliaire 1") +";"
|
||||
""+ tr("Bloc auxilliaire 2") +";"
|
||||
""+ tr("Machine-reference") +";"
|
||||
""+ tr("Localisation") +";"
|
||||
""+ tr("Fonction") +"\n";
|
||||
@@ -132,6 +134,8 @@ QString nomenclature::getElementInfo(const Element *elmt) {
|
||||
info += elmt_info["comment"].toString() + ";";
|
||||
info += elmt_info["manufacturer"].toString() + ";";
|
||||
info += elmt_info["manufacturer-reference"].toString() + ";";
|
||||
info += elmt_info["Auxiliary_1-contact-bloc"].toString() + ";";
|
||||
info += elmt_info["Auxiliary_2-contact-bloc"].toString() + ";";
|
||||
info += elmt_info["machine-manufacturer-reference"].toString() + ";";
|
||||
info += elmt_info["location"].toString() + ";";
|
||||
info += elmt_info["function"].toString() + "\n";
|
||||
|
||||
@@ -118,7 +118,7 @@ QETApp::QETApp(int &argc, char **argv) :
|
||||
|
||||
// on ouvre soit les fichiers passes en parametre soit un nouvel editeur de projet
|
||||
if (qet_arguments_.files().isEmpty()) {
|
||||
setSplashScreenStep(tr("Chargement... Éditeur de schéma", "splash screen caption"));
|
||||
setSplashScreenStep(tr("Chargement... Éditeur de schéma", "splash screen caption"));
|
||||
new QETDiagramEditor();
|
||||
} else {
|
||||
setSplashScreenStep(tr("Chargement... Ouverture des fichiers", "splash screen caption"));
|
||||
@@ -349,6 +349,8 @@ QStringList QETApp::elementInfoKeys() {
|
||||
<< "designation"
|
||||
<< "manufacturer"
|
||||
<< "manufacturer-reference"
|
||||
<< "Auxiliary_1-contact-bloc"
|
||||
<< "Auxiliary_2-contact-bloc"
|
||||
<< "machine-manufacturer-reference"
|
||||
<< "location"
|
||||
<< "function";
|
||||
@@ -368,6 +370,8 @@ QString QETApp::elementTranslatedInfoKey(QString &info) {
|
||||
else if (info == "designation") return tr("Désignation");
|
||||
else if (info == "manufacturer") return tr("Fabricant");
|
||||
else if (info == "manufacturer-reference") return tr("Référence fabricant");
|
||||
else if (info == "Auxiliary_1-contact-bloc") return tr("Bloc auxilliaire 1");
|
||||
else if (info == "Auxiliary_2-contact-bloc") return tr("Bloc auxilliaire 2");
|
||||
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");
|
||||
|
||||
Reference in New Issue
Block a user