Re: [PyQt] RE: PyQt newbie needs some help with a small report designer program

2009-06-15 Thread David Boddie
On Thu Jun 11 01:22:05 BST 2009, Lee wrote: > >You call its setBackgroundRole() method in its paintEvent() > > implementation. This appears to cause another paint event to be sent to > > the Resizer object, so you just keep receiving paint events. > > Ok, I think that makes sense. Removing does f

Re: [PyQt] Probleme with the metho description of QSciScintlla

2009-06-15 Thread projetmbc
Phil Thompson a écrit : Indeed, I've understood that this number are the default lexers. The following seems to work : === def description(self, style): if style == 7: return 'myLexer' return '' === Is-it what I'm supposed to d

Re: [PyQt] Probleme with the metho description of QSciScintlla

2009-06-15 Thread Phil Thompson
On Mon, 15 Jun 2009 22:33:50 +0200, projetmbc wrote: >> >> I've tired to implement that : >> = >>def description(self, style): >>print '(style)' >>print (style) >>return '' >> = >> >> Then numbers from 0 to 30 has been catched by

Re: [PyQt] Probleme with the metho description of QSciScintlla

2009-06-15 Thread projetmbc
I've tired to implement that : = def description(self, style): print '(style)' print (style) return '' = Then numbers from 0 to 30 has been catched by the method. What is the meaning of this numbers ? Sorry for beeing such a newb

Re: [PyQt] Probleme with the metho description of QSciScintlla

2009-06-15 Thread projetmbc
Indeed I've typed the code given with this message. I have the folowing Error : " QsciLexerCustom.description() is abstract and must be overridden. " What's wrong ? I don't think the error message can be clearer - you need to reimplement description() in your sub-class as described in t

Re: [PyQt] Probleme with the metho description of QSciScintlla

2009-06-15 Thread Phil Thompson
On Mon, 15 Jun 2009 20:52:26 +0200, projetmbc wrote: > Phil Thompson a écrit : >> On Mon, 15 Jun 2009 19:02:58 +0200, projetmbc >> >> wrote: >> >>> Hello, >>> I'm always trying to make my own lexer but I don't have enough >>> informtaion to start easily. >>> >>> I have to implement some metho

Re: [PyQt] Probleme with the metho description of QSciScintlla

2009-06-15 Thread projetmbc
Phil Thompson a écrit : On Mon, 15 Jun 2009 19:02:58 +0200, projetmbc wrote: Hello, I'm always trying to make my own lexer but I don't have enough informtaion to start easily. I have to implement some methods but what have I to do with the method description. What part of... http

Re: [PyQt] Probleme with the metho description of QSciScintlla

2009-06-15 Thread Phil Thompson
On Mon, 15 Jun 2009 19:02:58 +0200, projetmbc wrote: > Hello, > I'm always trying to make my own lexer but I don't have enough > informtaion to start easily. > > I have to implement some methods but what have I to do with the method > description. What part of... http://www.riverbankcomputing

[PyQt] Probleme with the metho description of QSciScintlla

2009-06-15 Thread projetmbc
Hello, I'm always trying to make my own lexer but I don't have enough informtaion to start easily. I have to implement some methods but what have I to do with the method description. === My code === class monLexer(Qsci.QsciLexerCustom): # Obtenu patr tatons : http://

Re: [PyQt] How about a mailing-list dedicated to Riverbank announces ?

2009-06-15 Thread Giovanni Bajo
On Mon, 2009-06-15 at 17:17 +0200, Jul wrote: > Hi, > What do you think about a new read-only mailing list dedicated to > PyQt, SIP, QScintilla and eric4 releases announces ? > Most of the time, I'm more an admin than developper and I just need to > stay on touch with software releases. > I don't

[PyQt] How about a mailing-list dedicated to Riverbank announces ?

2009-06-15 Thread Jul
Hi, What do you think about a new read-only mailing list dedicated to PyQt, SIP, QScintilla and eric4 releases announces ? Most of the time, I'm more an admin than developper and I just need to stay on touch with software releases. I don't really need all PyQt discussions Bes regards, Jul. ___

Re: [PyQt] Python callback in SIP

2009-06-15 Thread MD
Hi, > Then there is a problem with your .sip file for A. Yes, but I understood how to do it and I finally have a working python module. I'll tackle the real one now. > It will call the nearest in the class hierachy - which will be the Python > one. If you want to call another implementation in t

Re: [PyQt] Next Releases of SIP, PyQt3 and PyQt4

2009-06-15 Thread Arve Knudsen
I'm compiling snapshots as we speak at least, due to issues in the current versions. Arve On Mon, Jun 15, 2009 at 11:10 AM, Phil Thompson wrote: > I intend to make .1 releases of SIP, PyQt v3 and PyQt v4 very soon to tidy > up a number of issues. > > Let me know if you want me to hold off if yo

Re: [PyQt] Python callback in SIP

2009-06-15 Thread Phil Thompson
On Mon, 15 Jun 2009 12:05:16 +0200, MD wrote: > Hi, > >> No you don't. SIP does all of that for you - otherwise it would be pretty >> useless as a C++ wrapper generator. Just provide a .sip file for your A >> class and you shouldn't need any %MethodCode. > > I tried to provide a sip file for A b

Re: [PyQt] Python callback in SIP

2009-06-15 Thread MD
Hi, > No you don't. SIP does all of that for you - otherwise it would be pretty > useless as a C++ wrapper generator. Just provide a .sip file for your A > class and you shouldn't need any %MethodCode. I tried to provide a sip file for A but if I subclass it in Python I get a TypeError, A cannot

[PyQt] Next Releases of SIP, PyQt3 and PyQt4

2009-06-15 Thread Phil Thompson
I intend to make .1 releases of SIP, PyQt v3 and PyQt v4 very soon to tidy up a number of issues. Let me know if you want me to hold off if you are in the middle of major testing with the current releases. Phil ___ PyQt mailing listPyQt@riverbankcom