mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 20:50:34 +01:00
When editing a diagram, it is now possible to edit and/or duplicate a title block template from the title block properties dialog.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1479 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -1264,10 +1264,16 @@ void QETDiagramEditor::addProjectView(ProjectView *project_view) {
|
||||
|
||||
// gere les demandes consistant a retrouver un element dans le panel
|
||||
connect(project_view, SIGNAL(findElementRequired(const ElementsLocation &)), this, SLOT(findElementInPanel(const ElementsLocation &)));
|
||||
|
||||
|
||||
// gere les demandes pour l'edition d'un element
|
||||
connect(project_view, SIGNAL(editElementRequired(const ElementsLocation &)), this, SLOT(editElementInEditor(const ElementsLocation &)));
|
||||
|
||||
|
||||
// handles requests to edit and/or duplicate an existing title block template
|
||||
connect(
|
||||
project_view, SIGNAL(editTitleBlockTemplate(const TitleBlockTemplateLocation &, bool)),
|
||||
QETApp::instance(), SLOT(openTitleBlockTemplate(TitleBlockTemplateLocation, bool))
|
||||
);
|
||||
|
||||
// affiche la fenetre
|
||||
if (maximise) project_view -> showMaximized();
|
||||
else project_view -> show();
|
||||
|
||||
Reference in New Issue
Block a user