PDA

View Full Version : QScintilla



gerome69
14th May 2009, 08:59
Hi,
looking for a complex editor component, I just trapped over QScintilla.
But I found only an API doc, no example at all.

Can anybody post a simple example how to use it?

Thanks in advance, Gérôme

janus
14th May 2009, 10:23
Hi,

maybe take a look at sqliteman sources: http://sqliteman.com/ . I think it uses QScintilla as a custom sql editor.

fullmetalcoder
17th May 2009, 14:30
You may also have a look at QCodeEdit (http://qcodeedit.edyuk.org) whose API is closer to that of QTextEdit/QTextDocument which makes it significantly easier to use. QCodeEdit comes with an example application and there are already several projects using it, both OSS (e.g TexMakerX (http://texmakerx.sf.net), Xinx (http://xinx.shadoware.org) and Qapote (http://qapote.tuxfamily.org)) and commercial (which you obviously won't be able to get much inspiration from unfortunately...).