Re: [PyQt] graphical file tail

2013-06-24 Thread John Lee
On Mon, 24 Jun 2013, Eric Frederich wrote: I'm trying to tail several files graphically. I have been trying to find a way to tail several files in a GUI without much luck at all. I get errors from tail saying broken pipe. I get PyQt errors saying underlying C++ objects have been destroyed. I get

Re: [PyQt] Guaranteed avoidance of C++ destructor call

2013-05-30 Thread John Lee
On Thu, 30 May 2013, Phil Thompson wrote: On Thu, 30 May 2013 22:49:24 +0100 (BST), John Lee wrote: Hi Is it possible to guarantee that a C++ destructor of a QObject wrapped by PyQt is never called? [...] If I can't guarantee that from PyQt, can I write a simple sip wrapper that

[PyQt] Guaranteed avoidance of C++ destructor call

2013-05-30 Thread John Lee
Hi Is it possible to guarantee that a C++ destructor of a QObject wrapped by PyQt is never called? In C++ code, I can just avoid ever deleting the QObject, by not giving it a QObject parent, so that Qt does not manage its lifetime. In Python code, it isn't obvious to me whether Python might

[PyQt] Example sip/Qt code?

2013-04-28 Thread John Lee
Hi I am considering forking and re-wrapping some Qt code, for use from PyQt. What example code is there out there that could get me started quickly? Clearly PyQt itself is a good source, but is there code that's much simpler that could get me going with a simple case to start off with? I'm m