QElectroTech
0.8-dev
|
#include <formulaautonumberingw.h>
Inherits QWidget.
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
|
explicit |
Constructor
|
override |
Destructor
|
signal |
void FormulaAutonumberingW::clearContext | ( | ) |
FormulaAutonumberingW::clearContext.
clear | formula line edit text |
QString FormulaAutonumberingW::formula | ( | ) |
FormulaAutonumberingW::formula.
|
privateslot |
FormulaAutonumberingW::on_m_formula_le_textChanged Update Apply Button.
void FormulaAutonumberingW::setContext | ( | const QString & | formula | ) |
FormulaAutonumberingW::setContext.
formula | to be inserted into context |
|
signal |
|
private |
Ui::FormulaAutonumberingW* FormulaAutonumberingW::ui |