QElectroTech  0.8-dev
autonumberingmanagementw.h
Go to the documentation of this file.
1 /*
2  Copyright 2006-2020 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 ();
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
AutoNumberingManagementW::AutoNumberingManagementW
AutoNumberingManagementW(QETProject *project, QWidget *parent=nullptr)
AutoNumberingManagementW::AutoNumberingManagementW Constructor.
Definition: autonumberingmanagementw.cpp:35
AutoNumberingManagementW::elementFormula
QString elementFormula()
AutoNumberingManagementW
Definition: autonumberingmanagementw.h:32
AutoNumberingManagementW::setProjectContext
void setProjectContext()
AutoNumberingManagementW::setProjectContext Add Default Project Status.
Definition: autonumberingmanagementw.cpp:65
autonumberingmanagementw.h
NumPartEditorW
Definition: numparteditorw.h:35
AutoNumberingManagementW::on_m_apply_project_rb_clicked
void on_m_apply_project_rb_clicked()
AutoNumberingManagementW::on_m_apply_project_rb_clicked Disable folio widget.
Definition: autonumberingmanagementw.cpp:177
numerotationcontextcommands.h
Diagram
The Diagram class This class represents an electric diagram. It manages its various child elements,...
Definition: diagram.h:56
AutoNumberingManagementW::on_m_from_folios_cb_currentIndexChanged
void on_m_from_folios_cb_currentIndexChanged(int)
AutoNumberingManagementW::on_m_from_folios_cb_currentIndexChanged Set To Folios Combobox.
Definition: autonumberingmanagementw.cpp:132
numparteditorw.h
QETProject::diagrams
QList< Diagram * > diagrams() const
Definition: qetproject.cpp:217
AutoNumberingManagementW::ui
Ui::AutoNumberingManagementW * ui
Definition: autonumberingmanagementw.h:39
AutoNumberingManagementW::contextToFormula
void contextToFormula()
AutoNumberingManagementW::project_
QETProject * project_
Definition: autonumberingmanagementw.h:60
QET::QetMessageBox::information
QMessageBox::StandardButton information(QWidget *, const QString &, const QString &, QMessageBox::StandardButtons=QMessageBox::Ok, QMessageBox::StandardButton=QMessageBox::NoButton)
Definition: qetmessagebox.cpp:38
qetproject.h
AutoNumberingManagementW::~AutoNumberingManagementW
~AutoNumberingManagementW() override
AutoNumberingManagementW::~AutoNumberingManagementW Destructor.
Definition: autonumberingmanagementw.cpp:56
Ui
Definition: autonumberingdockwidget.h:25
QETProject
Definition: qetproject.h:51
AutoNumberingManagementW::on_m_status_cb_currentIndexChanged
void on_m_status_cb_currentIndexChanged(int)
AutoNumberingManagementW::on_m_status_cb_currentIndexChanged Load Default Status Options.
Definition: autonumberingmanagementw.cpp:76
AutoNumberingManagementW::on_m_apply_folios_rb_clicked
void on_m_apply_folios_rb_clicked()
AutoNumberingManagementW::on_m_apply_folios_rb_clicked Set From Folios Combobox.
Definition: autonumberingmanagementw.cpp:108
Diagram::folioIndex
int folioIndex() const
Diagram::folioIndex.
Definition: diagram.cpp:2335
AutoNumberingManagementW::on_m_to_folios_cb_currentIndexChanged
void on_m_to_folios_cb_currentIndexChanged(int)
AutoNumberingManagementW::on_m_to_folios_cb_currentIndexChanged Set selected folios Line Edit content...
Definition: autonumberingmanagementw.cpp:162
Diagram::title
QString title() const
Diagram::title.
Definition: diagram.cpp:2023
formulaautonumberingw.h
AutoNumberingManagementW::applyEnable
void applyEnable(bool=true)
AutoNumberingManagementW::applyEnable enable/disable the apply button.
Definition: autonumberingmanagementw.cpp:219
AutoNumberingManagementW::on_buttonBox_clicked
void on_buttonBox_clicked(QAbstractButton *)
AutoNumberingManagementW::on_buttonBox_clicked Action on buttonBox clicked.
Definition: autonumberingmanagementw.cpp:188
AutoNumberingManagementW::applyPressed
void applyPressed()
QET::Icons::tr
QIcon tr
Definition: qeticons.cpp:206
diagram.h