|
QElectroTech
0.70
|
Classes | |
| class | AssignVariables |
| The AssignVariables class This class assign variable of a formula string. Return the final string used to be displayed from a formula string. More... | |
| class | sequentialNumbers |
Functions | |
| void | setSequentialToList (QStringList &list, NumerotationContext &context, const QString &type) |
| setSequentialToList Append all sequential of type owned by in list More... | |
| void | setFolioSequentialToHash (QStringList &list, QHash< QString, QStringList > &hash, const QString &autoNumName) |
| setFolioSequentialToHash Insert all value of in with key More... | |
| void | setSequential (const QString &label, sequentialNumbers &seqStruct, NumerotationContext &context, Diagram *diagram, const QString &hashKey) |
| setSequential Fill seqStruct More... | |
| QString | numerotationContextToFormula (const NumerotationContext &nc) |
| numerotationContextToFormula More... | |
| QString | elementPrefixForLocation (const ElementsLocation &location) |
| elementPrefixForLocation More... | |
| QString autonum::elementPrefixForLocation | ( | const ElementsLocation & | location | ) |
elementPrefixForLocation
| location |
Definition at line 484 of file assignvariables.cpp.
References QETApp::commonElementsDir(), QETApp::customElementsDir(), ElementsLocation::fileName(), ElementsLocation::isProject(), and ElementsLocation::parent().
Referenced by Element::Element().
| QString autonum::numerotationContextToFormula | ( | const NumerotationContext & | nc | ) |
numerotationContextToFormula
| nc |
Definition at line 406 of file assignvariables.cpp.
References NumerotationContext::itemAt(), and NumerotationContext::size().
Referenced by QETProject::conductorAutoNumFormula(), SelectAutonumW::contextToFormula(), QETProject::elementAutoNumFormula(), Diagram::loadCndFolioSeq(), ConductorAutoNumerotation::newProperties(), ConductorAutoNumerotation::numerateNewConductor(), and MultiPasteDialog::on_m_button_box_accepted().
| void autonum::setFolioSequentialToHash | ( | QStringList & | list, |
| QHash< QString, QStringList > & | hash, | ||
| const QString & | autoNumName | ||
| ) |
setFolioSequentialToHash Insert all value of in with key
| list | : list to get values from |
| hash | : hash to have values inserted |
| autoNumName | : name to use as key of hash |
Definition at line 330 of file assignvariables.cpp.
Referenced by setSequential().
| void autonum::setSequential | ( | const QString & | label, |
| sequentialNumbers & | seqStruct, | ||
| NumerotationContext & | context, | ||
| Diagram * | diagram, | ||
| const QString & | hashKey | ||
| ) |
setSequential Fill seqStruct
| label | : label of sequential to fill (sequ_, sequf_, seqt_, ect....) |
| seqStruct | : struct to fill |
| context | : numerotation context use to know the current sequential num. |
| diagram | : diagram where the sequential occur, notably use when label is folio type (sequf_, seqtf_, seqhf_), to keep up to date the current sequential of folio. |
| hashKey | : the hash key used to store the sequential for folio type. |
Definition at line 367 of file assignvariables.cpp.
References autonum::sequentialNumbers::hundred, autonum::sequentialNumbers::hundred_folio, NumerotationContext::isEmpty(), Diagram::m_elmt_hundredfolio_max, Diagram::m_elmt_tenfolio_max, Diagram::m_elmt_unitfolio_max, setFolioSequentialToHash(), setSequentialToList(), autonum::sequentialNumbers::ten, autonum::sequentialNumbers::ten_folio, autonum::sequentialNumbers::unit, and autonum::sequentialNumbers::unit_folio.
Referenced by ConductorAutoNumerotation::newProperties(), ConductorAutoNumerotation::numerateNewConductor(), and Element::setUpFormula().
| void autonum::setSequentialToList | ( | QStringList & | list, |
| NumerotationContext & | context, | ||
| const QString & | type | ||
| ) |
setSequentialToList Append all sequential of type owned by in list
| list | : list to have value inserted |
| context | : numerotation context to retrieve value |
| type | : type of sequential (unit, unitfolio, ten, tenfolio, hundred, hundredfolio) |
Definition at line 306 of file assignvariables.cpp.
References NumerotationContext::itemAt(), and NumerotationContext::size().
Referenced by setSequential().
1.8.15