Phil Thompson [EMAIL PROTECTED] wrote:
Yes, it reflects the Qt behaviour. Models are often shared between views and
so (by default) aren't owned by any particular view. If you know there will
only ever be one view then make it the parent of the model.
I thought it should be possible to have
Giovanni Bajo [EMAIL PROTECTED] wrote:
It is not what Qt does. PyQt doesn't play tricks with object lifetimes: it
exposes Qt's underlying object model.
[...]
OK, thanks to you and Phil for the answers. It makes sense now.
Regards,
--
Florent
___
Hans-Peter Jansen [EMAIL PROTECTED] wrote:
and next time, you're facing empty widgets unexpectedly, it will ring a huge
bell somewhere between your ears.. ;-)
Oh, yes. I guess this is a typical beginner's mistake. ;-)
BTW: thank you very much for PyQt (and thanks to Qt developers if some
Hello,
The following trivial patch to pylupdate/fetchtr.cpp (for PyQt 4.10.3)
allows pylupdate4 to correctly process backslashes at the end of a line,
instead of replacing such backslashes with a linefeed (ASCII 10)
character. This is very useful in triple-quoted strings to avoid
introducing
Phil Thompson p...@riverbankcomputing.com wrote:
Done - something similar.
Thank you... and sorry for arriving a bit late. In case you find it
useful, here is a better patch that performs universal newline
translation at the basic level (i.e., not only when parsing a Python
string).
As