QElectroTech 0.200.1-dev
Loading...
Searching...
No Matches
FormulaAutonumberingW Class Reference

#include <formulaautonumberingw.h>

Inherits QWidget.

Collaboration diagram for FormulaAutonumberingW:
Collaboration graph

Signals

void applyPressed ()
void textChanged (QString)

Public Member Functions

 FormulaAutonumberingW (QWidget *parent=nullptr)
 ~FormulaAutonumberingW () override
QString formula ()
 FormulaAutonumberingW::formula.
void setContext (const QString &)
 FormulaAutonumberingW::setContext.
void clearContext ()
 FormulaAutonumberingW::clearContext.

Public Attributes

Ui::FormulaAutonumberingW * ui

Private Slots

void on_m_formula_le_textChanged (QString)
 FormulaAutonumberingW::on_m_formula_le_textChanged Update Apply Button.

Private Attributes

QString formula_

Detailed Description

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

Constructor & Destructor Documentation

◆ FormulaAutonumberingW()

FormulaAutonumberingW::FormulaAutonumberingW ( QWidget * parent = nullptr)
explicit

Constructor

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ~FormulaAutonumberingW()

FormulaAutonumberingW::~FormulaAutonumberingW ( )
override

Destructor

Member Function Documentation

◆ applyPressed

void FormulaAutonumberingW::applyPressed ( )
signal

◆ clearContext()

void FormulaAutonumberingW::clearContext ( )

FormulaAutonumberingW::clearContext.

Parameters
clearformula line edit text
Here is the caller graph for this function:

◆ formula()

QString FormulaAutonumberingW::formula ( )

FormulaAutonumberingW::formula.

Returns
formula to be stored into project
Here is the caller graph for this function:

◆ on_m_formula_le_textChanged

void FormulaAutonumberingW::on_m_formula_le_textChanged ( QString text)
privateslot

FormulaAutonumberingW::on_m_formula_le_textChanged Update Apply Button.

Here is the call graph for this function:

◆ setContext()

void FormulaAutonumberingW::setContext ( const QString & formula)

FormulaAutonumberingW::setContext.

Parameters
formulato be inserted into context
Here is the call graph for this function:
Here is the caller graph for this function:

◆ textChanged

void FormulaAutonumberingW::textChanged ( QString )
signal
Here is the caller graph for this function:

Member Data Documentation

◆ formula_

QString FormulaAutonumberingW::formula_
private

◆ ui

Ui::FormulaAutonumberingW* FormulaAutonumberingW::ui

The documentation for this class was generated from the following files: