[PyQt] Copying QStandardItem

Phil Thompson phil at riverbankcomputing.com
Tue Aug 5 15:42:53 BST 2008


On Tue, 5 Aug 2008 16:15:49 +0200, "Arve Knudsen" <arve.knudsen at gmail.com>
wrote:
> Is it problematic to copy QStandardItem? When I use copy.copy,
> accessing the resulting object results in a RuntimeError with the
> message 'underlying C/C++ object has been deleted'.

QStandardItem has no pickle support and no __copy__ implementation.

Phil



More information about the PyQt mailing list