QElectroTech 0.100.0-dev
Loading...
Searching...
No Matches
autonumberingdockwidget.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 AUTONUMBERINGDOCKWIDGET_H
19#define AUTONUMBERINGDOCKWIDGET_H
20
21#include "../../projectview.h"
22#include "../../qetproject.h"
23
24#include <QDockWidget>
25
26namespace Ui {
28}
29
30class AutoNumberingDockWidget : public QDockWidget
31{
32 Q_OBJECT
33
34 public:
35 explicit AutoNumberingDockWidget(QWidget *parent = nullptr);
36 ~AutoNumberingDockWidget() override;
37
38 void setContext();
40
41 public slots:
42 void setActive();
44
45 private slots:
52 void clear();
53 void projectClosed();
54
56
57 signals:
58 void folioAutoNumChanged(QString);
59
60 private:
61 Ui::AutoNumberingDockWidget *ui;
64
65};
66
67#endif // AUTONUMBERINGDOCKWIDGET_H
Definition autonumberingdockwidget.h:31
void elementAutoNumChanged()
AutoNumberingDockWidget::elementAutoNumChanged Add new or remove element auto num from combobox.
Definition autonumberingdockwidget.cpp:270
void projectClosed()
Definition autonumberingdockwidget.cpp:62
void setConductorActive(DiagramView *)
AutoNumberingDockWidget::setConductorActive.
Definition autonumberingdockwidget.cpp:197
void on_m_conductor_cb_activated(int)
AutoNumberingDockWidget::on_m_conductor_cb_activated Set new conductor AutoNum.
Definition autonumberingdockwidget.cpp:257
void folioAutoNumChanged()
AutoNumberingDockWidget::folioAutoNumChanged Add new or remove folio auto num from combobox.
Definition autonumberingdockwidget.cpp:298
void conductorAutoNumChanged()
AutoNumberingDockWidget::conductorAutoNumChanged Add new or remove conductor auto num from combobox.
Definition autonumberingdockwidget.cpp:239
QETProject * m_project
Definition autonumberingdockwidget.h:62
void setContext()
AutoNumberingDockWidget::setContext Add all itens to comboboxes.
Definition autonumberingdockwidget.cpp:161
void on_m_element_cb_activated(int)
AutoNumberingDockWidget::on_m_element_cb_activated Set new element AutoNum.
Definition autonumberingdockwidget.cpp:288
void on_m_folio_cb_activated(int)
AutoNumberingDockWidget::on_m_folio_cb_activated Set new folio AutoNum.
Definition autonumberingdockwidget.cpp:316
void setProject(QETProject *, ProjectView *)
AutoNumberingDockWidget::setProject.
Definition autonumberingdockwidget.cpp:76
void setActive()
AutoNumberingDockWidget::setActive Set current used autonumberings.
Definition autonumberingdockwidget.cpp:209
~AutoNumberingDockWidget() override
AutoNumberingDockWidget::~AutoNumberingDockWidget Destructor.
Definition autonumberingdockwidget.cpp:45
Ui::AutoNumberingDockWidget * ui
Definition autonumberingdockwidget.h:61
void on_m_configure_pb_clicked()
Definition autonumberingdockwidget.cpp:331
ProjectView * m_project_view
Definition autonumberingdockwidget.h:63
void folioAutoNumChanged(QString)
void clear()
AutoNumberingDockWidget::clear Remove all combo box values.
Definition autonumberingdockwidget.cpp:55
Definition diagramview.h:39
The ProjectView class This class provides a widget displaying the diagrams of a particular project us...
Definition projectview.h:80
Definition qetproject.h:62
Definition autonumberingdockwidget.h:26