|
QElectroTech
0.8-dev
|
Go to the documentation of this file.
18 #ifndef CONDUCTORAUTONUMEROTATION_H
19 #define CONDUCTORAUTONUMEROTATION_H
38 QUndoCommand *undo_parent =
nullptr);
59 #endif // CONDUCTORAUTONUMEROTATION_H
@ Multi
Definition: conductorproperties.h:79
void numeratePotential()
ConductorAutoNumerotation::numeratePotential Numerate a conductor on an existing potential.
Definition: conductorautonumerotation.cpp:165
Definition: assignvariables.h:35
void setProperties(const ConductorProperties &property)
Conductor::setProperties Set property as current property of conductor.
Definition: conductor.cpp:1538
QList< Conductor * > conductor_list
Definition: conductorautonumerotation.h:55
void addConductorAutoNum(const QString &key, const NumerotationContext &context)
QETProject::addConductorAutoNum Add a new conductor numerotation context. If key already exist,...
Definition: qetproject.cpp:587
bool isEmpty() const
NumerotationContext::isEmpty.
Definition: numerotationcontext.cpp:101
ConductorAutoNumerotation(Conductor *conductor, Diagram *diagram, QUndoCommand *undo_parent=nullptr)
ConductorAutoNumerotation::ConductorAutoNumerotation Constructor of autonum, after create a class,...
Definition: conductorautonumerotation.cpp:42
static void newProperties(Diagram *diagram, ConductorProperties &cp, autonum::sequentialNumbers &seq)
ConductorAutoNumerotation::newProperties Create a new properties according to the current autonum rul...
Definition: conductorautonumerotation.cpp:140
The NumerotationContextCommands class this class provide methods to handle content of NumerotationCon...
Definition: numerotationcontextcommands.h:31
Diagram * m_diagram
Definition: conductorautonumerotation.h:53
QString numerotationContextToFormula(const NumerotationContext &nc)
numerotationContextToFormula
Definition: assignvariables.cpp:473
QUndoCommand * m_parent_undo
Definition: conductorautonumerotation.h:56
Definition: numerotationcontext.h:31
void numerate()
ConductorAutoNumerotation::numerate execute the automatic numerotation.
Definition: conductorautonumerotation.cpp:56
QETProject * project() const
Diagram::project.
Definition: diagram.cpp:2326
bool eachStrIsEqual(const QStringList &qsl)
QET::eachStrIsEqual.
Definition: qet.cpp:624
NumerotationContext next()
NumerotationContextCommands::next.
Definition: numerotationcontextcommands.cpp:41
The Diagram class This class represents an electric diagram. It manages its various child elements,...
Definition: diagram.h:56
autonum::sequentialNumbers & rSequenceNum()
Definition: conductor.h:132
void setSequential(const QString &label, sequentialNumbers &seqStruct, NumerotationContext &context, Diagram *diagram, const QString &hashKey)
setSequential Fill seqStruct
Definition: assignvariables.cpp:434
void applyForEqualAttributes(QList< ConductorProperties > list)
ConductorProperties::applyForEqualAttributes Test each attribute of properties in the list separatly....
Definition: conductorproperties.cpp:464
Conductor * m_conductor
Definition: conductorautonumerotation.h:54
QString conductorsAutonumName() const
Diagram::conductorsAutonumName.
Definition: diagram.cpp:564
ConductorProperties properties
Definition: conductor.h:48
QUndoStack & undoStack()
Diagram::undoStack.
Definition: diagram.h:397
QHash< QString, NumerotationContext > conductorAutoNum() const
QETProject::conductorAutoNum.
Definition: qetproject.cpp:493
static QString formulaToLabel(QString formula, sequentialNumbers &seqStruct, Diagram *diagram, const Element *elmt=nullptr)
AssignVariables::formulaToLabel Return the formula with variable assigned (ready to be displayed)
Definition: assignvariables.cpp:187
The ConductorAutoNumerotation class.
Definition: conductorautonumerotation.h:33
void numerateNewConductor()
ConductorAutoNumerotation::numerateNewConductor create and apply a new numerotation to m_conductor.
Definition: conductorautonumerotation.cpp:220
void applyText(const QString &)
ConductorAutoNumerotation::applyText apply the text t to conductor_ and all conductors at the same po...
Definition: conductorautonumerotation.cpp:69
QString m_formula
Definition: conductorproperties.h:94
The PotentialSelectorDialog class This dialog is used when user try to connect two existing potential...
Definition: potentialselectordialog.h:69
The ConductorProperties class This class represents the functional properties of a particular conduct...
Definition: conductorproperties.h:68
Definition: conductor.h:43
The QPropertyUndoCommand class This undo command manage QProperty of a QObject. This undo command can...
Definition: qpropertyundocommand.h:34
QString text
Definition: conductorproperties.h:89
QETDiagramEditor * diagramEditor() const
Conductor::diagramEditor.
Definition: conductor.cpp:1703
QIcon tr
Definition: qeticons.cpp:206
QString conductorCurrentAutoNum() const
QETProject::conductorCurrentAutoNum.
Definition: qetproject.cpp:560