Re: [PyKDE] QScintilla and Qt4

2005-07-06 Thread Phil Thompson
On July 5, 2005 03:11 pm, Phil Thompson wrote: On Tuesday 05 July 2005 8:55 pm, Thomas Fjellstrom wrote: I know the whole Qt4 thing has come up time and time again, but hopefully my questions are a little different ;) How much work has already gone into porting Scintilla to Qt4? None.

RE: [review] RE: [review] [PyKDE] can't make PyKDE

2005-07-06 Thread Витёк
First, Many Thanks for you Jim! Second all is ok! :). Problem was solved with -i switch. -Original Message- From: Jim Bublitz [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 05, 2005 9:01 PM To: pykde@mats.imk.fraunhofer.de Cc: Витёк Subject: Re: [review] RE: [review] [PyKDE] can't make

[PyKDE] Using thread and event filter crashes Python

2005-07-06 Thread Yann COINTEPAS
Setting an event filter to the QApplication singleton and using threads lead to a Python crash due to a double deletion of a widget (at Python level). This happens with PyQt 3.14.1 and sip 4.2.1. I don't know if it is the same for other versions. For example, the following code: import sys,

Re: [PyKDE] Issue with QDialog and lifetime

2005-07-06 Thread Giovanni Bajo
James Emerton [EMAIL PROTECTED] wrote: Does anyone see a potential problem with exec_loop() transferring ownership of the dialog instance back to Python? Well, which C++ API would you intend to call to achieve this? We still need the QDialog to keep its parent widget because it is the

Re: [PyKDE] Issue with QDialog and lifetime

2005-07-06 Thread Phil Thompson
On Wednesday 06 July 2005 4:32 pm, Giovanni Bajo wrote: James Emerton [EMAIL PROTECTED] wrote: Does anyone see a potential problem with exec_loop() transferring ownership of the dialog instance back to Python? Well, which C++ API would you intend to call to achieve this? We still need

Re: [PyKDE] QScintilla and Qt4

2005-07-06 Thread David Boddie
On Tue, 05 Jul 2005 18:46:32, Thomas Fjellstrom wrote: And you were 100% correct. It now works, but is still using the qt3 support classes (I'll fix that eventually). And I'm getting this odd warning: QPainter::begin: Widget painting can only begin as a result of a paintEvent Yes, you shouldn't

Re: [PyKDE] QScintilla and Qt4

2005-07-06 Thread Thomas Fjellstrom
On July 6, 2005 12:07 pm, David Boddie wrote: On Tue, 05 Jul 2005 18:46:32, Thomas Fjellstrom wrote: And you were 100% correct. It now works, but is still using the qt3 support classes (I'll fix that eventually). And I'm getting this odd warning: QPainter::begin: Widget painting can only

[PyKDE] SIP gives syntax error when confronted with enum

2005-07-06 Thread Gary Coulbourne
Howdy! I have the following construct in a sip file... - public: enum SortType { NameIgnoreCase= QDir::Name | QDir::IgnoreCase, ReverseIgnoreCase = QDir::Reversed |

Re: [PyKDE] SIP gives syntax error when confronted with enum

2005-07-06 Thread Phil Thompson
On Wednesday 06 July 2005 7:48 pm, Gary Coulbourne wrote: Howdy! I have the following construct in a sip file... - public: enum SortType { NameIgnoreCase= QDir::Name | QDir::IgnoreCase,

Re: [PyKDE] QScintilla and Qt4

2005-07-06 Thread David Boddie
On Wednesday 06 July 2005 20:04, Thomas Fjellstrom wrote: I haven't changed the drawingcode (in PlatQt.cpp) much at all. So just look in there for how QScintilla works.. Basically, It has a Surface object that gets instantiated in paintEvent, and the drawing happens in calls to other