Diagram command: additem, minor improvement

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3370 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2014-10-11 17:45:11 +00:00
parent 1a842dc263
commit 0af31b9105
7 changed files with 46 additions and 28 deletions

View File

@@ -180,6 +180,14 @@ QRectF DiagramImageItem::boundingRect() const {
}
}
/**
* @brief DiagramImageItem::name
* @return the generic name of this item (picture)
*/
QString DiagramImageItem::name() const {
return tr("une image");
}
/**
Load the image from this xml element
@param e xml element that define an image