QElectroTech 0.100.0-dev
Loading...
Searching...
No Matches
replacefoliowidget.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 REPLACEFOLIOWIDGET_H
19#define REPLACEFOLIOWIDGET_H
20
21#include "../../diagramcontext.h"
22#include "../../titleblockproperties.h"
23
24#include <QDialog>
25#include <QWidget>
26
28class QDialogButtonBox;
29
30namespace Ui {
32}
33
34class ReplaceFolioWidget : public QWidget
35{
36 Q_OBJECT
37
38 public:
39 explicit ReplaceFolioWidget(QWidget *parent = nullptr);
41
43 void setTitleBlockProperties (const TitleBlockProperties &properties);
44
45 private slots:
53
54 private:
55 Ui::ReplaceFolioWidget *ui;
57
58};
59
60class ReplaceFolioDialog : public QDialog
61{
62 Q_OBJECT
63
64 public:
65 ReplaceFolioDialog(QWidget *parent = nullptr);
67
69 void setTitleBlockProperties (const TitleBlockProperties &properties);
70
71 private:
73 QDialogButtonBox *m_button_box = nullptr;
74};
75
76#endif // REPLACEFOLIOWIDGET_H
Definition diagramcontextwidget.h:30
Definition replacefoliowidget.h:61
~ReplaceFolioDialog()
Definition replacefoliowidget.cpp:137
void setTitleBlockProperties(const TitleBlockProperties &properties)
ReplaceFolioDialog::setTitleBlockProperties.
Definition replacefoliowidget.cpp:153
ReplaceFolioWidget * m_widget
Definition replacefoliowidget.h:72
QDialogButtonBox * m_button_box
Definition replacefoliowidget.h:73
TitleBlockProperties titleBlockProperties() const
ReplaceFolioDialog::titleBlockProperties.
Definition replacefoliowidget.cpp:144
Definition replacefoliowidget.h:35
void on_m_loc_cb_clicked()
Definition replacefoliowidget.cpp:197
DiagramContextWidget * m_diagram_context_widget
Definition replacefoliowidget.h:56
Ui::ReplaceFolioWidget * ui
Definition replacefoliowidget.h:55
void on_m_indice_cb_clicked()
Definition replacefoliowidget.cpp:205
void on_m_folio_cb_clicked()
Definition replacefoliowidget.cpp:181
void on_m_plant_cb_clicked()
Definition replacefoliowidget.cpp:189
void on_m_author_cb_clicked()
Definition replacefoliowidget.cpp:165
TitleBlockProperties titleBlockProperties() const
ReplaceFolioWidget::titleBlockProperties.
Definition replacefoliowidget.cpp:46
void on_m_file_cb_clicked()
Definition replacefoliowidget.cpp:173
void on_m_title_cb_clicked()
Definition replacefoliowidget.cpp:157
~ReplaceFolioWidget()
Definition replacefoliowidget.cpp:37
void setTitleBlockProperties(const TitleBlockProperties &properties)
ReplaceFolioWidget::setTitleBlockProperties Set the title block properties edited by this widget.
Definition replacefoliowidget.cpp:79
Definition titleblockproperties.h:29
Definition autonumberingdockwidget.h:26