Re: [PyKDE] QScintilla and Qt4

2005-07-07 Thread Phil Thompson
> I'd need to read the code a bit more and get something working with Qt 3 > before I could be sure it would work with Qt 4. There's probably a good > reason why the code is currently arranged the way it is. The only reason will be to follow the pattern of other platform ports. That's not a "good

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 sci

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

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 shoul

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

Re: [PyKDE] QScintilla and Qt4

2005-07-05 Thread Thomas Fjellstrom
On July 5, 2005 03:11 pm, you wrote: > On Tuesday 05 July 2005 8:55 pm, Thomas Fjellstrom wrote: > > Was hoping to get it to work under qt4, but I have no idea how much work > > it'll be to get QScintilla to work with it.. > > I don't expect that it will take much work. And you were 100% correct.

Re: [PyKDE] QScintilla and Qt4

2005-07-05 Thread Thomas Fjellstrom
On July 5, 2005 03:29 pm, Thomas Fjellstrom wrote: > > we shall see. > Wow, quite a few "(obsolete)" methods being used... And they were "(obsolete)" in qt3 :o -- Thomas Fjellstrom [EMAIL PROTECTED] ___ PyKDE mailing listPyKDE@mats.imk.fraunhofer.

Re: [PyKDE] QScintilla and Qt4

2005-07-05 Thread Thomas Fjellstrom
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? >

Re: [PyKDE] QScintilla and Qt4

2005-07-05 Thread Phil Thompson
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. > If any has been done, would I be able to get my

[PyKDE] QScintilla and Qt4

2005-07-05 Thread Thomas Fjellstrom
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? If any has been done, would I be able to get my hands on it? I'd prefer not to have to start from scratch ;) I'm assumin