QElectroTech
0.70
|
The ProjectPropertiesDialog class this class builds a dialog to edit whole properties of a project. More...
#include <projectpropertiesdialog.h>
Public Types | |
enum | Page { Main = 0, Diagram = 1, Autonum = 2 } |
Public Member Functions | |
ProjectPropertiesDialog (QETProject *project, QWidget *parent=nullptr) | |
ProjectPropertiesDialog::ProjectPropertiesDialog Default constructor. More... | |
~ProjectPropertiesDialog () override | |
ProjectPropertiesDialog::~ProjectPropertiesDialog. More... | |
void | exec () |
ProjectPropertiesDialog::exec execute this dialog. More... | |
void | setCurrentPage (ProjectPropertiesDialog::Page) |
ProjectPropertiesDialog::setCurrentPage Change the current displayed page by p. More... | |
void | changeToFolio () |
ProjectPropertiesDialog::changeToFolio Change the current displayed tab to folio tab. More... | |
Private Attributes | |
ConfigDialog * | m_properties_dialog |
The ProjectPropertiesDialog class this class builds a dialog to edit whole properties of a project.
Definition at line 30 of file projectpropertiesdialog.h.
Enumerator | |
---|---|
Main | |
Diagram | |
Autonum |
Definition at line 32 of file projectpropertiesdialog.h.
ProjectPropertiesDialog::ProjectPropertiesDialog | ( | QETProject * | project, |
QWidget * | parent = nullptr |
||
) |
ProjectPropertiesDialog::ProjectPropertiesDialog Default constructor.
project | : project to edit properties |
parent | : parent widget of this dialog |
Definition at line 30 of file projectpropertiesdialog.cpp.
References m_properties_dialog, and QET::Icons::tr.
|
override |
ProjectPropertiesDialog::~ProjectPropertiesDialog.
Definition at line 48 of file projectpropertiesdialog.cpp.
References m_properties_dialog.
void ProjectPropertiesDialog::changeToFolio | ( | ) |
ProjectPropertiesDialog::changeToFolio Change the current displayed tab to folio tab.
Definition at line 74 of file projectpropertiesdialog.cpp.
References ProjectAutoNumConfigPage::changeToTab(), m_properties_dialog, and ConfigDialog::pages.
Referenced by NewDiagramPage::changeToAutoFolioTab().
void ProjectPropertiesDialog::exec | ( | ) |
ProjectPropertiesDialog::exec execute this dialog.
Definition at line 56 of file projectpropertiesdialog.cpp.
References m_properties_dialog.
Referenced by NewDiagramPage::changeToAutoFolioTab(), ProjectView::editProjectProperties(), and AutoNumberingDockWidget::on_m_configure_pb_clicked().
void ProjectPropertiesDialog::setCurrentPage | ( | ProjectPropertiesDialog::Page | p | ) |
ProjectPropertiesDialog::setCurrentPage Change the current displayed page by p.
p | : page to display |
Definition at line 66 of file projectpropertiesdialog.cpp.
References m_properties_dialog.
Referenced by NewDiagramPage::changeToAutoFolioTab(), DiagramPropertiesDialog::editAutoFolioNum(), DiagramPropertiesDialog::editAutonum(), and AutoNumberingDockWidget::on_m_configure_pb_clicked().
|
private |
Definition at line 45 of file projectpropertiesdialog.h.
Referenced by changeToFolio(), exec(), ProjectPropertiesDialog(), setCurrentPage(), and ~ProjectPropertiesDialog().