2014-07-19 11:42:16 +00:00
|
|
|
/*
|
2025-01-04 13:37:40 +01:00
|
|
|
Copyright 2006-2025 The QElectroTech Team
|
2014-07-19 11:42:16 +00:00
|
|
|
This file is part of QElectroTech.
|
|
|
|
|
|
|
|
QElectroTech is free software: you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU General Public License as published by
|
|
|
|
the Free Software Foundation, either version 2 of the License, or
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
QElectroTech is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
#ifndef DIAGRAMPROPERTIESDIALOG_H
|
|
|
|
#define DIAGRAMPROPERTIESDIALOG_H
|
|
|
|
|
2014-08-15 13:16:58 +00:00
|
|
|
#include "qdialog.h"
|
|
|
|
|
|
|
|
class Diagram;
|
2017-02-27 16:58:05 +00:00
|
|
|
class ConductorPropertiesWidget;
|
2014-07-19 11:42:16 +00:00
|
|
|
|
|
|
|
/**
|
2020-08-16 11:19:36 +02:00
|
|
|
@brief The DiagramPropertiesDialog class
|
|
|
|
This dialog open a windows for edit properties of a diagram.
|
|
|
|
*/
|
2014-08-15 13:16:58 +00:00
|
|
|
class DiagramPropertiesDialog : public QDialog {
|
|
|
|
Q_OBJECT
|
|
|
|
|
2014-07-19 11:42:16 +00:00
|
|
|
public:
|
2017-08-05 02:06:59 +00:00
|
|
|
DiagramPropertiesDialog(Diagram *diagram, QWidget *parent = nullptr);
|
2014-07-19 11:42:16 +00:00
|
|
|
|
2017-08-05 02:06:59 +00:00
|
|
|
static void diagramPropertiesDialog(Diagram *diagram, QWidget *parent = nullptr);
|
2014-08-15 13:16:58 +00:00
|
|
|
|
|
|
|
public slots:
|
|
|
|
void editAutonum ();
|
2020-08-16 14:23:59 +02:00
|
|
|
void editAutoFolioNum ();
|
2014-08-15 13:16:58 +00:00
|
|
|
|
|
|
|
private:
|
2020-09-07 22:03:40 +02:00
|
|
|
Diagram *m_diagram;
|
2017-02-27 16:58:05 +00:00
|
|
|
ConductorPropertiesWidget *m_cpw;
|
2014-07-19 11:42:16 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // DIAGRAMPROPERTIESDIALOG_H
|