element editor -> save element :

text field ins't include in the bounding rect of the element (better behavior with xref and more handy in general use). 


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3191 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2014-07-03 22:48:36 +00:00
parent 9b8537c59d
commit 3fcb8823d3

View File

@@ -522,6 +522,7 @@ QRectF ElementScene::elementSceneGeometricRect() const{
foreach (QGraphicsItem *qgi, items()) {
if (qgi -> type() == ElementPrimitiveDecorator::Type) continue;
if (qgi -> type() == QGraphicsRectItem::Type) continue;
if (qgi -> type() == PartTextField::Type) continue;
if (CustomElementPart *cep = dynamic_cast <CustomElementPart*> (qgi)) {
esgr |= cep -> sceneGeometricRect();
}