mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-02-07 14:59:58 +01:00
Mod doc set style de same
This commit is contained in:
@@ -22,11 +22,11 @@
|
||||
#include "configpages.h"
|
||||
|
||||
/**
|
||||
* @brief ProjectPropertiesDialog::ProjectPropertiesDialog
|
||||
* Default constructor
|
||||
* @param project : project to edit properties
|
||||
* @param parent : parent widget of this dialog
|
||||
*/
|
||||
@brief ProjectPropertiesDialog::ProjectPropertiesDialog
|
||||
Default constructor
|
||||
@param project : project to edit properties
|
||||
@param parent : parent widget of this dialog
|
||||
*/
|
||||
ProjectPropertiesDialog::ProjectPropertiesDialog(QETProject *project, QWidget *parent) {
|
||||
NewDiagramPage *newDiagramPage = new NewDiagramPage(project,parent,this);
|
||||
ProjectAutoNumConfigPage *projectAutoNumConfigPage = new ProjectAutoNumConfigPage (project);
|
||||
@@ -43,34 +43,34 @@ ProjectPropertiesDialog::ProjectPropertiesDialog(QETProject *project, QWidget *p
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief ProjectPropertiesDialog::~ProjectPropertiesDialog
|
||||
*/
|
||||
@brief ProjectPropertiesDialog::~ProjectPropertiesDialog
|
||||
*/
|
||||
ProjectPropertiesDialog::~ProjectPropertiesDialog () {
|
||||
delete m_properties_dialog;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief ProjectPropertiesDialog::exec
|
||||
* execute this dialog.
|
||||
*/
|
||||
@brief ProjectPropertiesDialog::exec
|
||||
execute this dialog.
|
||||
*/
|
||||
void ProjectPropertiesDialog::exec() {
|
||||
m_properties_dialog->setWindowModality(Qt::WindowModal);
|
||||
m_properties_dialog -> exec();
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief ProjectPropertiesDialog::setCurrentPage
|
||||
* Change the current displayed page by p.
|
||||
* @param p : page to display
|
||||
*/
|
||||
@brief ProjectPropertiesDialog::setCurrentPage
|
||||
Change the current displayed page by p.
|
||||
@param p : page to display
|
||||
*/
|
||||
void ProjectPropertiesDialog::setCurrentPage(ProjectPropertiesDialog::Page p) {
|
||||
m_properties_dialog -> setCurrentPage(static_cast <int> (p));
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief ProjectPropertiesDialog::changeToFolio
|
||||
* Change the current displayed tab to folio tab.
|
||||
*/
|
||||
@brief ProjectPropertiesDialog::changeToFolio
|
||||
Change the current displayed tab to folio tab.
|
||||
*/
|
||||
void ProjectPropertiesDialog::changeToFolio() {
|
||||
ProjectAutoNumConfigPage *autoNumPage = static_cast <ProjectAutoNumConfigPage*>(m_properties_dialog->pages.at(2));
|
||||
autoNumPage->changeToTab(3);
|
||||
|
||||
Reference in New Issue
Block a user