mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 20:50:34 +01:00
Diagram properties dialog: add button to open the conductor autonumérotation editor.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3274 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -17,9 +17,7 @@
|
||||
*/
|
||||
#include "projectview.h"
|
||||
#include "qetproject.h"
|
||||
#include "configdialog.h"
|
||||
#include "closediagramsdialog.h"
|
||||
#include "projectconfigpages.h"
|
||||
#include "diagramview.h"
|
||||
#include "diagram.h"
|
||||
#include "diagramprintdialog.h"
|
||||
@@ -36,6 +34,7 @@
|
||||
#include "qettabbar.h"
|
||||
#include "qettemplateeditor.h"
|
||||
#include "diagramfoliolist.h"
|
||||
#include "projectpropertiesdialog.h"
|
||||
|
||||
/**
|
||||
Constructeur
|
||||
@@ -444,13 +443,8 @@ void ProjectView::showDiagram(Diagram *diagram) {
|
||||
*/
|
||||
void ProjectView::editProjectProperties() {
|
||||
if (!project_) return;
|
||||
|
||||
ConfigDialog properties_dialog(parentWidget());
|
||||
properties_dialog.setWindowTitle(tr("Propri\351t\351s du projet", "window title"));
|
||||
properties_dialog.addPage(new ProjectMainConfigPage (project_));
|
||||
properties_dialog.addPage(new ProjectNewDiagramConfigPage (project_));
|
||||
properties_dialog.addPage(new ProjectAutoNumConfigPage (project_));
|
||||
properties_dialog.exec();
|
||||
ProjectPropertiesDialog dialog(project_, parentWidget());
|
||||
dialog.exec();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user