Ajout d'un bouton pour editer un element sans devoir le retrouver dans le panel d'elements.

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@717 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
cfdev
2009-07-08 09:41:20 +00:00
parent 5847967f06
commit 9abcca9aef
6 changed files with 32 additions and 1 deletions

View File

@@ -300,6 +300,7 @@ void ProjectView::addDiagram(DiagramView *diagram) {
rebuildDiagramsMap();
connect(diagram, SIGNAL(titleChanged(DiagramView *, const QString &)), this, SLOT(updateTabTitle(DiagramView *, const QString &)));
connect(diagram, SIGNAL(findElementRequired(const ElementsLocation &)), this, SIGNAL(findElementRequired(const ElementsLocation &)));
connect(diagram, SIGNAL(editElementRequired(const ElementsLocation &)), this, SIGNAL(editElementRequired(const ElementsLocation &)));
// signale l'ajout du schema
emit(diagramAdded(diagram));