|
QElectroTech
0.70
|
#include <numerotationcontextcommands.h>
Public Member Functions | |
| NumerotationContextCommands (const NumerotationContext &, Diagram *=nullptr) | |
| Constructor. More... | |
| ~NumerotationContextCommands () | |
| Destructor. More... | |
| NumerotationContext | next () |
| NumerotationContextCommands::next. More... | |
| NumerotationContext | previous () |
| NumerotationContextCommands::previous. More... | |
| QString | toRepresentedString () |
| NumerotationContextCommands::toFinalString. More... | |
Private Member Functions | |
| void | setNumStrategy (const QString &) |
| NumerotationContextCommands::setNumStrategy apply the good strategy relative to . More... | |
Private Attributes | |
| Diagram * | diagram_ |
| NumerotationContext | context_ |
| NumStrategy * | strategy_ |
this class provide methods to handle content of NumerotationContext.
Definition at line 29 of file numerotationcontextcommands.h.
| NumerotationContextCommands::NumerotationContextCommands | ( | const NumerotationContext & | nc, |
| Diagram * | d = nullptr |
||
| ) |
Constructor.
Definition at line 24 of file numerotationcontextcommands.cpp.
| NumerotationContextCommands::~NumerotationContextCommands | ( | ) |
| NumerotationContext NumerotationContextCommands::next | ( | ) |
NumerotationContextCommands::next.
Definition at line 41 of file numerotationcontextcommands.cpp.
References context_, NumerotationContext::itemAt(), setNumStrategy(), NumerotationContext::size(), and strategy_.
Referenced by QETProject::autoFolioNumberingSelectedFolios(), ConductorAutoNumerotation::newProperties(), SelectAutonumW::on_m_next_pb_clicked(), Element::setUpFormula(), and QETProject::updateDiagramsFolioData().
| NumerotationContext NumerotationContextCommands::previous | ( | ) |
NumerotationContextCommands::previous.
Definition at line 56 of file numerotationcontextcommands.cpp.
References context_, NumerotationContext::itemAt(), setNumStrategy(), NumerotationContext::size(), and strategy_.
Referenced by SelectAutonumW::on_m_previous_pb_clicked().
|
private |
NumerotationContextCommands::setNumStrategy apply the good strategy relative to .
Definition at line 89 of file numerotationcontextcommands.cpp.
References diagram_, and strategy_.
Referenced by next(), previous(), and toRepresentedString().
| QString NumerotationContextCommands::toRepresentedString | ( | ) |
NumerotationContextCommands::toFinalString.
Definition at line 71 of file numerotationcontextcommands.cpp.
References context_, diagram_, NumerotationContext::itemAt(), setNumStrategy(), NumerotationContext::size(), and strategy_.
Referenced by QETProject::autoFolioNumberingSelectedFolios(), and QETProject::updateDiagramsFolioData().
|
private |
Definition at line 42 of file numerotationcontextcommands.h.
Referenced by next(), previous(), and toRepresentedString().
|
private |
Definition at line 41 of file numerotationcontextcommands.h.
Referenced by setNumStrategy(), and toRepresentedString().
|
private |
Definition at line 43 of file numerotationcontextcommands.h.
Referenced by next(), previous(), setNumStrategy(), toRepresentedString(), and ~NumerotationContextCommands().
1.8.15