QElectroTech
0.70
|
#include <formulaautonumberingw.h>
Signals | |
void | applyPressed () |
void | textChanged (QString) |
Public Member Functions | |
FormulaAutonumberingW (QWidget *parent=nullptr) | |
~FormulaAutonumberingW () override | |
QString | formula () |
FormulaAutonumberingW::formula. More... | |
void | setContext (const QString &) |
FormulaAutonumberingW::setContext. More... | |
void | clearContext () |
FormulaAutonumberingW::clearContext. More... | |
Public Attributes | |
Ui::FormulaAutonumberingW * | ui |
Private Slots | |
void | on_m_formula_le_textChanged (QString) |
FormulaAutonumberingW::on_m_formula_le_textChanged Update Apply Button. More... | |
Private Attributes | |
QString | formula_ |
This class implements the element autonumbering widget. It loads the current formula applied to new elements and allows the user to overwrite it with a new formula. Formula is added while parsing label in customelement.cpp
Definition at line 35 of file formulaautonumberingw.h.
|
explicit |
Constructor
Definition at line 28 of file formulaautonumberingw.cpp.
References formula_, setContext(), and ui.
|
override |
|
signal |
void FormulaAutonumberingW::clearContext | ( | ) |
FormulaAutonumberingW::clearContext.
clear | formula line edit text |
Definition at line 57 of file formulaautonumberingw.cpp.
References ui.
Referenced by SelectAutonumW::contextToFormula().
QString FormulaAutonumberingW::formula | ( | ) |
FormulaAutonumberingW::formula.
Definition at line 65 of file formulaautonumberingw.cpp.
References ui.
Referenced by SelectAutonumW::formula(), and setContext().
|
privateslot |
FormulaAutonumberingW::on_m_formula_le_textChanged Update Apply Button.
Definition at line 73 of file formulaautonumberingw.cpp.
References textChanged().
void FormulaAutonumberingW::setContext | ( | const QString & | formula | ) |
FormulaAutonumberingW::setContext.
formula | to be inserted into context |
Definition at line 49 of file formulaautonumberingw.cpp.
Referenced by SelectAutonumW::contextToFormula(), and FormulaAutonumberingW().
|
signal |
Referenced by on_m_formula_le_textChanged().
|
private |
Definition at line 61 of file formulaautonumberingw.h.
Referenced by FormulaAutonumberingW().
Ui::FormulaAutonumberingW* FormulaAutonumberingW::ui |
Definition at line 46 of file formulaautonumberingw.h.
Referenced by clearContext(), formula(), FormulaAutonumberingW(), SelectAutonumW::SelectAutonumW(), setContext(), and ~FormulaAutonumberingW().