Hi Phil,
thanks! With QStrings it works fine.
On Tue, 11 Dec 2012 11:07:58 +
Phil Thompson wrote:
>
> Try passing QStrings as arguments rather than Python strings.
>
> Phil
--
Alexander Bruy
___
PyQt mailing listPyQt@riverbankc
, "")
>>> print p
Traceback (most recent call last):
File "", line 1, in
RuntimeError: underlying C/C++ object has been deleted
Is it possible to implement such behaviour with SIP?
I use Qt 4.8.2, SIP 4.13.2 and Python 2.7.3
Thanks
--
Alexander Bruy
_
ow to fix this?
All sources attached. I use PyQt 4.8.1, Qt 4.7.0 and SIP 4.11.2
Thanks
--
Alexander Bruy
src.tar.bz2
Description: BZip2 compressed data
<><><>___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverba
ticularly as the workaround
> is straightforward. This bug has been present for 3 years and it's the
> first time I remember it being reported. Obviously I will update the
> documentation.
>
> Phil
Thanks again
--
Alexander Bruy
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
rom your issue, consider to subclass QDialog and reimplement reject to
> conditionally do what you want without continuously fiddling with
> {dis,}connect.
>
> Pete
Thansk
--
Alexander Bruy
___
PyQt mailing listPyQt@riverbankcom
onnected
and disconnected in run-time.
I create simple demo for this bug, find it attached.
[0]
http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/new_style_signals_slots.html
Thanks and sorry for my English
--
Alexander Bruy
pyqt_bug.tar.bz2
Description: BZip2 compressed data
_