Add bounding rectangle for rendering images in designer support
authorMarco Bubke <marco.bubke@nokia.com>
Wed, 31 Aug 2011 16:29:13 +0000 (18:29 +0200)
committerQt by Nokia <qt-info@nokia.com>
Wed, 31 Aug 2011 16:34:27 +0000 (18:34 +0200)
commit8801dd4f173a4e7676400dd18d76d89dfe3b3791
tree6a0edc28224360eb51d2e003475414603946126f
parenta07f68eff5ac4696a551f083d186a685f7ef043d
Add bounding rectangle for rendering images in designer support

Elements can be outside the root items bounding rectange. So we compute
the bounding rectangle of an item and its children on the designer side. We
exclude all children which are the designer created.

Change-Id: I3c4f9ca5291c8f65e3670be1fd0900edf449b46f
Reviewed-on: http://codereview.qt.nokia.com/3963
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
src/declarative/designer/designersupport.cpp
src/declarative/designer/designersupport.h