diff options
author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2014-11-03 20:38:01 +0100 |
---|---|---|
committer | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2014-11-07 13:23:18 +0100 |
commit | 645f9eec00b63c076cad488c7ec19a5be9e5dd5e (patch) | |
tree | b7f248f2a56bef6340328eb80af321abbbaa673f /.gitattributes | |
parent | b67d853d2c3d9cb3e9be9a62396f5cd97a18c125 (diff) |
QGraphicsItem: clarify the documentation about caching modes and update()
It is possible that Qt calls paint() several times for an item that
has caching enabled, even without any explicit call to update(). There
are various reasons why that is possible (memory pressure, item gets
transformed, etc.); the important part is that
1) the user must not rely into "caching enabled" = "1 paint() call"
2) the user must always draw the same content from within paint(),
unless update() was called before that call to paint().
Task-number: QTBUG-18410
Change-Id: I2c8d77e6e11aaceffc9a21003dd3f4cc46edd582
Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@digia.com>
Reviewed-by: Andy Shaw <andy.shaw@digia.com>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions