QElectroTech 0.100.0-dev
|
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 type owned by context in list | |
void | setFolioSequentialToHash (QStringList &list, QHash< QString, QStringList > &hash, const QString &autoNumName) |
setFolioSequentialToHash Insert all value of list in hash with key autoNumName | |
void | setSequential (const QString &label, sequentialNumbers &seqStruct, NumerotationContext &context, Diagram *diagram, const QString &hashKey) |
setSequential Fill seqStruct | |
QString | numerotationContextToFormula (const NumerotationContext &nc) |
numerotationContextToFormula | |
QString | elementPrefixForLocation (const ElementsLocation &location) |
elementPrefixForLocation | |
QString autonum::elementPrefixForLocation | ( | const ElementsLocation & | location | ) |
elementPrefixForLocation
location |
QString autonum::numerotationContextToFormula | ( | const NumerotationContext & | nc | ) |
numerotationContextToFormula
nc |
void autonum::setFolioSequentialToHash | ( | QStringList & | list, |
QHash< QString, QStringList > & | hash, | ||
const QString & | autoNumName | ||
) |
setFolioSequentialToHash Insert all value of list in hash with key autoNumName
list | : list to get values from |
hash | : hash to have values inserted |
autoNumName | : name to use as key of hash |
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. |
void autonum::setSequentialToList | ( | QStringList & | list, |
NumerotationContext & | context, | ||
const QString & | type | ||
) |
setSequentialToList Append all sequential of type type owned by context in list
list | : list to have value inserted |
context | : numerotation context to retrieve value |
type | : type of sequential (unit, unitfolio, ten, tenfolio, hundred, hundredfolio) |