QElectroTech 0.100.0-dev
Loading...
Searching...
No Matches
formulaautonumberingw.h
Go to the documentation of this file.
1/*
2 Copyright 2006-2024 The QElectroTech Team
3 This file is part of QElectroTech.
4
5 QElectroTech is free software: you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation, either version 2 of the License, or
8 (at your option) any later version.
9
10 QElectroTech is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
17*/
18#ifndef FORMULAAUTONUMBERINGW_H
19#define FORMULAAUTONUMBERINGW_H
20
21#include <QWidget>
22
23class QAbstractButton;
24
25namespace Ui {
27}
28
35class FormulaAutonumberingW : public QWidget
36{
37 Q_OBJECT
38
39 //METHODS
40 public:
41 explicit FormulaAutonumberingW(QWidget *parent = nullptr);
42 ~FormulaAutonumberingW() override;
43 QString formula();
44 void setContext(const QString&);
45 void clearContext();
46 Ui::FormulaAutonumberingW *ui;
47
48 private:
49
50 // SIGNALS
51 signals:
53 void textChanged(QString);
54
55 //SLOTS
56 private slots:
57 void on_m_formula_le_textChanged(QString);
58
59 //ATTRIBUTES
60 private:
61 QString formula_;
62
63};
64
65#endif // FORMULAAUTONUMBERINGW_H
Definition formulaautonumberingw.h:36
void clearContext()
FormulaAutonumberingW::clearContext.
Definition formulaautonumberingw.cpp:57
QString formula()
FormulaAutonumberingW::formula.
Definition formulaautonumberingw.cpp:66
void setContext(const QString &)
FormulaAutonumberingW::setContext.
Definition formulaautonumberingw.cpp:48
Ui::FormulaAutonumberingW * ui
Definition formulaautonumberingw.h:46
QString formula_
Definition formulaautonumberingw.h:61
void on_m_formula_le_textChanged(QString)
FormulaAutonumberingW::on_m_formula_le_textChanged Update Apply Button.
Definition formulaautonumberingw.cpp:75
void textChanged(QString)
~FormulaAutonumberingW() override
Definition formulaautonumberingw.cpp:39
Definition autonumberingdockwidget.h:26