diff options
author | Hugo Parente Lima <hugo.pl@gmail.com> | 2011-01-28 16:28:17 -0200 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-08 16:53:50 -0300 |
commit | 279fb0242963caf5a03ea30d6cde5f10d3387f7b (patch) | |
tree | 10cd1c6fc4f95e98d6c4e8a17b10606647d91c69 /tests/QtSvg | |
parent | 9c7d055f3d6f7f93f66ed977ca480979b445fcb8 (diff) |
Fix bug 565 - "QImage missing *data constructors"
Fix bug 566 - "'PySide.QtGui.QImage' object has no attribute 'scanLine'"
The constructors now accepts any PyObject which implements the buffer protocol, as the
C++ and PyQt4 version the buffer must be alive during the life time of QImage because QImage
*does not* copy the image data.
scanLine() and bits() now return buffer objects pointing to the memory inside QImage.
Diffstat (limited to 'tests/QtSvg')
0 files changed, 0 insertions, 0 deletions