[PyQt] Re: Missing sip and/or QScintilla feature

Detlev Offenbach detlev at die-offenbachs.de
Tue Dec 23 09:36:07 GMT 2008


On Montag, 22. Dezember 2008, Phil Thompson wrote:
> On Mon, 22 Dec 2008 19:41:54 +0100, Detlev Offenbach
>
> <detlev at die-offenbachs.de> wrote:
> > Hi,
> >
> > the QScintilla QsciAPIs documentation states:
> >
> > "A function name may be followed by a `?' and a number. The number is
>
> used
>
> > by
> > auto-completion to display a registered QPixmap with the function name."
> >
> > However, I cannot find a way to enable the generation of such markers in
> > sip.
> > Is there a convention, which IDs should be used for which type of
> > identifire
> > (e.g. classes, methods, functions, attributes, ...)?
> >
> > If this feature is missing, I think it should be added soon because it
> > makes a
> > plus to all applications showing autocompletions. If it is supported,
> > please
> > let me know how to activate it. I checked the API files installed by
> > QScintilla and PyQt4 and didn't find such markers.
>
> The API files generated by SIP don't support the feature.
>
> Phil

I think, that should be changed. One could define a standard set of IDs to be 
used for this feature and document it in the QScintilla QsciAPIs doc. (e.g. 1 
for classes, 2 for methods/functions and 3 for attributes/constants/enums)

Regards,
Detlev
-- 
Detlev Offenbach
detlev at die-offenbachs.de


More information about the PyQt mailing list