QElectroTech  0.70
projectpropertiesdialog.h
Go to the documentation of this file.
1 /*
2  Copyright 2006-2019 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 
22 class QETProject;
23 class QWidget;
24 class ConfigDialog;
25 
30 class ProjectPropertiesDialog : public QObject {
31  public:
32  enum Page {
33  Main = 0,
34  Diagram = 1,
35  Autonum = 2
36  };
37 
38  ProjectPropertiesDialog(QETProject *project, QWidget *parent = nullptr);
39  ~ProjectPropertiesDialog() override;
40  void exec();
42  void changeToFolio();
43 
44  private:
46 };
47 
48 #endif // PROJECTPROPERTIESDIALOG_H
The ProjectPropertiesDialog class this class builds a dialog to edit whole properties of a project...
~ProjectPropertiesDialog() override
ProjectPropertiesDialog::~ProjectPropertiesDialog.
ProjectPropertiesDialog(QETProject *project, QWidget *parent=nullptr)
ProjectPropertiesDialog::ProjectPropertiesDialog Default constructor.
void exec()
ProjectPropertiesDialog::exec execute this dialog.
void setCurrentPage(ProjectPropertiesDialog::Page)
ProjectPropertiesDialog::setCurrentPage Change the current displayed page by p.
void changeToFolio()
ProjectPropertiesDialog::changeToFolio Change the current displayed tab to folio tab.