QElectroTech  0.8-dev
diagrampropertiesdialog.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 DIAGRAMPROPERTIESDIALOG_H
19 #define DIAGRAMPROPERTIESDIALOG_H
20 
21 #include "qdialog.h"
22 
23 class Diagram;
25 
30 class DiagramPropertiesDialog : public QDialog {
31  Q_OBJECT
32 
33  public:
34  DiagramPropertiesDialog(Diagram *diagram, QWidget *parent = nullptr);
35 
36  static void diagramPropertiesDialog(Diagram *diagram, QWidget *parent = nullptr);
37 
38  public slots:
39  void editAutonum ();
40  void editAutoFolioNum ();
41 
42  private:
45 };
46 
47 #endif // DIAGRAMPROPERTIESDIALOG_H
ConductorPropertiesWidget::editAutonumPushButton
QPushButton * editAutonumPushButton() const
Definition: conductorpropertieswidget.cpp:214
BorderProperties
The BorderProperties class This class is a container for dimensions and display properties of a diagr...
Definition: borderproperties.h:29
ChangeTitleBlockCommand
The ChangeTitleBlockCommand class This command changes the title block properties for a particular di...
Definition: changetitleblockcommand.h:31
ConductorPropertiesWidget
Definition: conductorpropertieswidget.h:32
ProjectPropertiesDialog::exec
void exec()
ProjectPropertiesDialog::exec execute this dialog.
Definition: projectpropertiesdialog.cpp:55
DiagramPropertiesDialog::m_diagram
Diagram * m_diagram
Definition: diagrampropertiesdialog.h:43
diagramcommands.h
borderpropertieswidget.h
TitleBlockPropertiesWidget
Definition: titleblockpropertieswidget.h:38
Diagram::setConductorsAutonumName
void setConductorsAutonumName(const QString &name)
Diagram::setConductorsAutonumName.
Definition: diagram.cpp:572
DiagramPropertiesDialog::editAutoFolioNum
void editAutoFolioNum()
DiagramPropertiesDialog::editAutonum Open folio autonum editor.
Definition: diagrampropertiesdialog.cpp:150
ProjectPropertiesDialog::Autonum
@ Autonum
Definition: projectpropertiesdialog.h:35
diagrampropertiesdialog.h
titleblockpropertieswidget.h
Diagram::project
QETProject * project() const
Diagram::project.
Definition: diagram.cpp:2326
DiagramPropertiesDialog
The DiagramPropertiesDialog class This dialog open a windows for edit properties of a diagram.
Definition: diagrampropertiesdialog.h:30
QETProject::conductorAutoNumChanged
void conductorAutoNumChanged()
Diagram
The Diagram class This class represents an electric diagram. It manages its various child elements,...
Definition: diagram.h:56
changetitleblockcommand.h
TitleBlockProperties
Definition: titleblockproperties.h:29
projectpropertiesdialog.h
Diagram::conductorsAutonumName
QString conductorsAutonumName() const
Diagram::conductorsAutonumName.
Definition: diagram.cpp:564
QETProject::conductorAutoNum
QHash< QString, NumerotationContext > conductorAutoNum() const
QETProject::conductorAutoNum.
Definition: qetproject.cpp:493
DiagramPropertiesDialog::DiagramPropertiesDialog
DiagramPropertiesDialog(Diagram *diagram, QWidget *parent=nullptr)
DiagramPropertiesDialog::DiagramPropertiesDialog Deafult constructor.
Definition: diagrampropertiesdialog.cpp:33
DiagramPropertiesDialog::diagramPropertiesDialog
static void diagramPropertiesDialog(Diagram *diagram, QWidget *parent=nullptr)
DiagramPropertiesDialog::diagramPropertiesDialog Static method to get a DiagramPropertiesDialog.
Definition: diagrampropertiesdialog.cpp:129
QETProject
Definition: qetproject.h:51
DiagramPropertiesDialog::m_cpw
ConductorPropertiesWidget * m_cpw
Definition: diagrampropertiesdialog.h:44
ProjectPropertiesDialog::changeToFolio
void changeToFolio()
ProjectPropertiesDialog::changeToFolio Change the current displayed tab to folio tab.
Definition: projectpropertiesdialog.cpp:73
DiagramPropertiesDialog::editAutonum
void editAutonum()
DiagramPropertiesDialog::editAutonum Open conductor autonum editor.
Definition: diagrampropertiesdialog.cpp:137
ProjectPropertiesDialog::setCurrentPage
void setCurrentPage(ProjectPropertiesDialog::Page)
ProjectPropertiesDialog::setCurrentPage Change the current displayed page by p.
Definition: projectpropertiesdialog.cpp:65
ConductorProperties
The ConductorProperties class This class represents the functional properties of a particular conduct...
Definition: conductorproperties.h:68
ConductorPropertiesWidget::autonumComboBox
QComboBox * autonumComboBox() const
Definition: conductorpropertieswidget.cpp:209
BorderPropertiesWidget
The BorderPropertiesWidget class this widget edit the properties of a border.
Definition: borderpropertieswidget.h:33
ProjectPropertiesDialog
The ProjectPropertiesDialog class this class builds a dialog to edit whole properties of a project.
Definition: projectpropertiesdialog.h:30
conductorpropertieswidget.h
QET::Icons::tr
QIcon tr
Definition: qeticons.cpp:206
ChangeBorderCommand
The ChangeBorderCommand class This command changes the border properties of a particular diagram.
Definition: diagramcommands.h:306
QET::Icons::Cancel
QIcon Cancel
Definition: qeticons.cpp:34
diagram.h