Improve how element editor is opened to edit an element in a diagram.

Before this commit :
ElementPropertiesWidget emit a signal of Diagram to edit an element, and
the signal goes up from Diagram -> DiagramView -> ProjectView ->
QetDiagramEditor and QetDiagramEditor call a static function.
Now :
ElementPropertiesWidget call the static function itself and that all.
All unnecessary signals are removed.
This commit is contained in:
Claveau Joshua
2020-10-02 19:28:52 +02:00
parent e263264752
commit 8507040aa2
8 changed files with 3 additions and 35 deletions

View File

@@ -134,8 +134,6 @@ class QETDiagramEditor : public QETMainWindow
void reloadOldElementPanel();
void diagramWasAdded(DiagramView *);
void findElementInPanel(const ElementsLocation &);
void editElementInEditor(const ElementsLocation &);
void editSelectedElementInEditor();
void showError(const QETResult &);
void showError(const QString &);
void subWindowActivated(QMdiSubWindow *subWindows);