QElectroTech 0.100.0-dev
Loading...
Searching...
No Matches
qetinformation.h
Go to the documentation of this file.
1/*
2 Copyright 2006-2024 The QElectroTech Team
3 This file is part of QElectroTech.
4
5 QElectroTech is free software: you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation, either version 2 of the License, or
8 (at your option) any later version.
9
10 QElectroTech is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
17*/
18#ifndef QETINFORMATION_H
19#define QETINFORMATION_H
20
21#include <QStringList>
22#include <QHash>
23
34{
36 static QString ELMT_LABEL = "label";
37 static QString ELMT_FORMULA = "formula";
38 static QString ELMT_COMMENT = "comment";
39 static QString ELMT_FUNCTION = "function";
40 static QString ELMT_AUX1 = "auxiliary1";
41 static QString ELMT_AUX2 = "auxiliary2";
42 static QString ELMT_DESCRIPTION = "description";
43 static QString ELMT_DESIGNATION = "designation";
44 static QString ELMT_MANUFACTURER = "manufacturer";
45 static QString ELMT_MANUFACTURER_REF = "manufacturer_reference";
46 static QString ELMT_MACHINE_MANUFACTURER_REF = "machine_manufacturer_reference";
47 static QString ELMT_SUPPLIER = "supplier";
48 static QString ELMT_QUANTITY = "quantity";
49 static QString ELMT_UNITY = "unity";
50 static QString ELMT_PLANT = "plant";
51 static QString ELMT_LOCATION = "location";
52
54 static QString COND_FUNCTION = "function";
55 static QString COND_TENSION_PROTOCOL = "tension_protocol";
56 static QString COND_COLOR = "conductor_color";
57 static QString COND_SECTION = "conductor_section";
58 static QString COND_FORMULA = "formula";
59 static QString COND_TEXT = "text";
60
62 static QString DIA_AUTHOR = "author";
63 static QString DIA_DATE = "date";
64 static QString DIA_DISPLAY_FOLIO = "display_folio";
65 static QString DIA_FILENAME = "filename";
66 static QString DIA_FOLIO = "folio";
67 static QString DIA_INDEX_REV = "indexrev";
68 static QString DIA_LOCMACH = "locmach";
69 static QString DIA_PLANT = "plant";
70 static QString DIA_POS = "pos";
71 static QString DIA_TITLE = "title";
72 static QString DIA_FOLIO_ID = "folio-id";
73 static QString DIA_PREVIOUS_FOLIO_NUM = "previous-folio-num";
74 static QString DIA_NEXT_FOLIO_NUM = "next-folio-num";
75
77 static QString PROJECT_FOLIO_TOTAL = "folio-total";
78 static QString PROJECT_TITLE = "projecttitle";
79 static QString PROJECT_PATH = "projectpath";
80 static QString PROJECT_FILE_NAME = "projectfilename";
81 static QString PROJECT_SAVE_DATE = "saveddate";
82 static QString PROJECT_SAVE_DATE_EU = "saveddate-eu";
83 static QString PROJECT_SAVE_DATE_US = "saveddate-us";
84 static QString PROJECT_SAVE_TIME = "savedtime";
85 static QString PROJECT_SAVED_FILE_NAME = "savedfilename";
86 static QString PROJECT_SAVED_FILE_PATH = "savedfilepath";
87
88
90 static QString QET_VERSION = "version";
91
92
93
94
95
96 QStringList titleblockInfoKeys();
97 QString titleblockInfoKeysToVar(const QString &info);
98 QHash <QString, QString> titleblockTranslatedKeyHashVar();
99
100 QStringList folioReportInfoKeys();
101 QHash <QString, QString> folioReportInfoKeyToVar();
102 QString folioReportInfoToVar(const QString &info);
103
104 QStringList conductorInfoKeys();
105 QStringList diagramInfoKeys();
106
107 QStringList elementInfoKeys();
108 QStringList elementEditorElementInfoKeys();
109 QString elementInfoToVar(const QString &info);
110
111 QStringList terminalElementInfoKeys();
112
113 QString infoToVar(const QString &info);
114 QString translatedInfoKey(const QString &info);
115}
116
117#endif // QETINFORMATION_H
Definition qetinformation.h:34
QStringList elementInfoKeys()
Definition qetinformation.cpp:141
QHash< QString, QString > folioReportInfoKeyToVar()
Definition qetinformation.cpp:96
QStringList folioReportInfoKeys()
QETInformation::folioReportInfoKey.
Definition qetinformation.cpp:86
QString translatedInfoKey(const QString &info)
QETInformation::translatedInfoKey.
Definition qetinformation.cpp:194
QStringList titleblockInfoKeys()
QETInformation::titleblockInfoKeys.
Definition qetinformation.cpp:27
QString elementInfoToVar(const QString &info)
QETInformation::elementInfoToVar.
Definition qetinformation.cpp:168
QStringList diagramInfoKeys()
Definition qetinformation.cpp:127
QHash< QString, QString > titleblockTranslatedKeyHashVar()
QETInformation::titleblockTranslatedKeyHashVar.
Definition qetinformation.cpp:73
QStringList conductorInfoKeys()
Definition qetinformation.cpp:116
QString folioReportInfoToVar(const QString &info)
Definition qetinformation.cpp:108
QString titleblockInfoKeysToVar(const QString &info)
QETInformation::titleblockInfoKeysToVar.
Definition qetinformation.cpp:60
QStringList terminalElementInfoKeys()
Definition qetinformation.cpp:259
QString infoToVar(const QString &info)
QETInformation::infoToVar.
Definition qetinformation.cpp:182
QStringList elementEditorElementInfoKeys()
Definition qetinformation.cpp:243