add class ElementProvider and build small ui for the properties of folio report element

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2672 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2013-12-28 13:28:27 +00:00
parent c44f8704f9
commit 38e3e26ff8
10 changed files with 250 additions and 3 deletions

View File

@@ -936,6 +936,15 @@ QList<CustomElement *> Diagram::customElements() const {
return(elements_list);
}
QList <Element *> Diagram::elements() const {
QList<Element *> element_list;
foreach (QGraphicsItem *qgi, items()) {
if (Element *elmt = qgraphicsitem_cast<Element *>(qgi))
element_list <<elmt;
}
return (element_list);
}
/**
Initialise un deplacement d'elements, conducteurs et champs de texte sur le
schema.