QElectroTech 0.100.0-dev
|
The ProjectPropertiesDialog class this class builds a dialog to edit whole properties of a project. More...
#include <projectpropertiesdialog.h>
Inherits QObject.
Public Types | |
enum | Page { Main = 0 , Diagram = 1 , Autonum = 2 , TerminalStrip = 3 } |
Public Member Functions | |
ProjectPropertiesDialog (QETProject *project, QWidget *parent=nullptr) | |
ProjectPropertiesDialog::ProjectPropertiesDialog Default constructor. | |
~ProjectPropertiesDialog () override | |
ProjectPropertiesDialog::~ProjectPropertiesDialog. | |
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. | |
Private Attributes | |
ConfigDialog * | m_properties_dialog |
The ProjectPropertiesDialog class this class builds a dialog to edit whole properties of a project.
ProjectPropertiesDialog::ProjectPropertiesDialog | ( | QETProject * | project, |
QWidget * | parent = nullptr |
||
) |
ProjectPropertiesDialog::ProjectPropertiesDialog Default constructor.
project | : project to edit properties |
parent | : parent widget of this dialog |
|
override |
void ProjectPropertiesDialog::changeToFolio | ( | ) |
ProjectPropertiesDialog::changeToFolio Change the current displayed tab to folio tab.
void ProjectPropertiesDialog::exec | ( | ) |
ProjectPropertiesDialog::exec execute this dialog.
void ProjectPropertiesDialog::setCurrentPage | ( | ProjectPropertiesDialog::Page | p | ) |
ProjectPropertiesDialog::setCurrentPage Change the current displayed page by p.
p | : page to display |
|
private |