mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
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:
@@ -108,8 +108,6 @@ class DiagramView : public QGraphicsView
|
||||
void titleChanged(DiagramView *, const QString &);
|
||||
/// Signal emitted when users wish to locate an element from the diagram within elements collection
|
||||
void findElementRequired(const ElementsLocation &);
|
||||
/// Signal emitted when users wish to edit an element from the diagram
|
||||
void editElementRequired(const ElementsLocation &);
|
||||
/// Signal emmitted when diagram must be show
|
||||
void showDiagram (Diagram *);
|
||||
/// Signal emmtted when free rubberband changed.
|
||||
|
||||
Reference in New Issue
Block a user