Hi Phil et al,

here are two other examples:

Delayed Encoding: this is located under examples/draganddrop
Separations: add pointed out by David, this is hidden under 
doc/src/snippets/separations.

I've no idea, where to stick this one, but it is a nice example.

Although it shows three weaknesses:
 - since it doesn't delay the encoding, one have to drag the (final) image
   to a drop target and wait, until the encoding finishes before dropping.
   Otherwise the D'n'D operation will fail. (inherited from original)
 - Saving the final image saves the scaled image only, thus it's not really
   usefull for real tasks. (inherited from original)
 - Since it computes all pixels on the fly, the python interpreter penalty
   is hitting us here..

For the sake of completeness, the fixed drop site example attached again.

Pete

Attachment: delayedencoding.tar.gz
Description: application/tgz

Attachment: separations.tar.gz
Description: application/tgz

Attachment: dropsite.tar.gz
Description: application/tgz

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to