QElectroTech  0.70
autonumberingmanagementw.h
Go to the documentation of this file.
1 /*
2  Copyright 2006-2019 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 AUTONUMBERINGMANAGEMENTW_H
19 #define AUTONUMBERINGMANAGEMENTW_H
20 
21 #include <QWidget>
22 
23 class NumPartEditorW;
24 class QAbstractButton;
25 class QETProject;
26 
27 namespace Ui {
29 }
30 
31 class AutoNumberingManagementW : public QWidget
32 {
33  Q_OBJECT
34 
35  //METHODS
36  public:
37  explicit AutoNumberingManagementW(QETProject *project, QWidget *parent = nullptr);
38  ~AutoNumberingManagementW() override;
39  Ui::AutoNumberingManagementW *ui;
40  void setProjectContext ();
41  void contextToFormula ();
42  QString elementFormula();
43 
44  //SIGNALS
45  signals:
46  void applyPressed();
47 
48  //SLOTS
49  private slots:
55  void on_buttonBox_clicked(QAbstractButton *);
56  void applyEnable (bool = true);
57 
58  //ATTRIBUTES
59  private:
61 };
62 
63 #endif // AUTONUMBERINGMANAGEMENTW_H
void on_m_apply_project_rb_clicked()
AutoNumberingManagementW::on_m_apply_project_rb_clicked Disable folio widget.
AutoNumberingManagementW(QETProject *project, QWidget *parent=nullptr)
Ui::AutoNumberingManagementW * ui
void on_m_apply_folios_rb_clicked()
AutoNumberingManagementW::on_m_apply_folios_rb_clicked Set From Folios Combobox.
void applyEnable(bool=true)
AutoNumberingManagementW::applyEnable enable/disable the apply button.
void on_buttonBox_clicked(QAbstractButton *)
AutoNumberingManagementW::on_buttonBox_clicked Action on clicked.
void setProjectContext()
AutoNumberingManagementW::setProjectContext Add Default Project Status.
void on_m_to_folios_cb_currentIndexChanged(int)
AutoNumberingManagementW::on_m_to_folios_cb_currentIndexChanged Set selected folios Line Edit content...
void on_m_status_cb_currentIndexChanged(int)
AutoNumberingManagementW::on_m_status_cb_currentIndexChanged Load Default Status Options.
void on_m_from_folios_cb_currentIndexChanged(int)
AutoNumberingManagementW::on_m_from_folios_cb_currentIndexChanged Set To Folios Combobox.