QElectroTech 0.100.0-dev
Loading...
Searching...
No Matches
projectpropertiesdialog.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 PROJECTPROPERTIESDIALOG_H
19#define PROJECTPROPERTIESDIALOG_H
20#include <QtCore>
21
22class QETProject;
23class QWidget;
24class ConfigDialog;
25
30class ProjectPropertiesDialog : public QObject {
31 public:
32 enum Page {
33 Main = 0,
37 };
38
39 ProjectPropertiesDialog(QETProject *project, QWidget *parent = nullptr);
40 ~ProjectPropertiesDialog() override;
41 void exec();
43 void changeToFolio();
44
45 private:
47};
48
49#endif // PROJECTPROPERTIESDIALOG_H
Definition configdialog.h:31
The Diagram class This class represents an electric diagram. It manages its various child elements,...
Definition diagram.h:56
The ProjectPropertiesDialog class this class builds a dialog to edit whole properties of a project.
Definition projectpropertiesdialog.h:30
void changeToFolio()
ProjectPropertiesDialog::changeToFolio Change the current displayed tab to folio tab.
Definition projectpropertiesdialog.cpp:83
~ProjectPropertiesDialog() override
ProjectPropertiesDialog::~ProjectPropertiesDialog.
Definition projectpropertiesdialog.cpp:55
void exec()
ProjectPropertiesDialog::exec execute this dialog.
Definition projectpropertiesdialog.cpp:64
void setCurrentPage(ProjectPropertiesDialog::Page)
ProjectPropertiesDialog::setCurrentPage Change the current displayed page by p.
Definition projectpropertiesdialog.cpp:75
Page
Definition projectpropertiesdialog.h:32
@ Autonum
Definition projectpropertiesdialog.h:35
@ Main
Definition projectpropertiesdialog.h:33
ConfigDialog * m_properties_dialog
Definition projectpropertiesdialog.h:46
Definition qetproject.h:62
The TerminalStrip class This class hold all the datas and configurations of a terminal strip (but the...
Definition terminalstrip.h:45