mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
Title block properties dialog: the templates list is now dynamically updated.
Also, it is now possible to edit and/or duplicate the default template. git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1480 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -469,7 +469,7 @@ void DiagramView::editDiagramProperties() {
|
||||
|
||||
TitleBlockPropertiesWidget *titleblock_infos = new TitleBlockPropertiesWidget(titleblock, false, &popup);
|
||||
if (QETProject *parent_project = scene -> project()) {
|
||||
titleblock_infos -> setTitleBlockTemplatesList(parent_project -> embeddedTitleBlockTemplates());
|
||||
titleblock_infos -> setTitleBlockTemplatesCollection(parent_project -> embeddedTitleBlockTemplatesCollection());
|
||||
titleblock_infos -> setTitleBlockTemplatesVisible(true);
|
||||
// we have to parse again the TitleBlockProperties object, since the
|
||||
// first parsing did not know of our templates
|
||||
|
||||
Reference in New Issue
Block a user