summaryrefslogtreecommitdiffstats
path: root/src/gui/graphicsview/qgraphicslayout_p.h
diff options
context:
space:
mode:
authorAlexis Menard <alexis.menard@nokia.com>2010-05-05 04:57:26 (GMT)
committerAlexis Menard <alexis.menard@nokia.com>2010-05-05 23:44:28 (GMT)
commit3c4d3a65bbce6b1f9e649412f141ee8890a7b6cd (patch)
tree801be34e129444e7f7c908b31ef27462637342a2 /src/gui/graphicsview/qgraphicslayout_p.h
parentb7513f4a15ecac1adf54f2abdda6b56c89d6bef4 (diff)
downloadQt-3c4d3a65bbce6b1f9e649412f141ee8890a7b6cd.zip
Qt-3c4d3a65bbce6b1f9e649412f141ee8890a7b6cd.tar.gz
Qt-3c4d3a65bbce6b1f9e649412f141ee8890a7b6cd.tar.bz2
QGraphicsWidget was not working properly when ItemSendsPositionChanges is false
The geometry was not properly set because QGraphicsWidget rely on itemChange to update its own geometry. Now when calling setPos we also ensure that for a widget the geometry will be up to date. Setting the flag ItemSendsPositionChanges to false for a given widget will give a small performance boost. Reviewed-by:janarve Reviewed-by:bnilsen
Diffstat (limited to 'src/gui/graphicsview/qgraphicslayout_p.h')
0 files changed, 0 insertions, 0 deletions