mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-30 07:40:51 +01:00
Change the way how a diagram is added
Now it's the project itself who manage the adding of diagram instead of the diagram view, it's more coherent
This commit is contained in:
@@ -168,7 +168,7 @@ class QETProject : public QObject
|
||||
QUndoStack* undoStack() {return m_undo_stack;}
|
||||
|
||||
public slots:
|
||||
Diagram *addNewDiagram();
|
||||
Diagram *addNewDiagram(int pos = -1);
|
||||
QList <Diagram *> addNewDiagramFolioList();
|
||||
void removeDiagram(Diagram *);
|
||||
void diagramOrderChanged(int, int);
|
||||
@@ -213,7 +213,7 @@ class QETProject : public QObject
|
||||
|
||||
void writeProjectPropertiesXml(QDomElement &);
|
||||
void writeDefaultPropertiesXml(QDomElement &);
|
||||
void addDiagram(Diagram *);
|
||||
void addDiagram(Diagram *diagram, int pos = -1);
|
||||
NamesList namesListForIntegrationCategory();
|
||||
void writeBackup();
|
||||
void init();
|
||||
|
||||
Reference in New Issue
Block a user