[QScintilla] Set QScintilla styles w/ stylesheets? QTextEdit zooms?

Phil Thompson phil at riverbankcomputing.com
Fri Oct 24 17:31:51 BST 2008


On Thu, 23 Oct 2008 10:27:34 -0500, "Edward K. Ream" <edreamleo at gmail.com>
wrote:
> For my old eyes, setting QScintilla's font to "Courier New" 8 bold
> magnified 6 times looks absolutely beautiful.  I'm instantly spoiled
> for life :-)
> 
> At present, Leo does this with lexer.setFont and w.zoomIn(6), but it
> would be easier for Leo's users if they could use a stylesheet. Is
> this possible?  If so, are there docs?

QScintilla doesn't provide any explicit support for stylesheets.

> BTW, I can set QTextEdit with a stylesheet, but apparently w.zoomIn
> doesn't work for QTextEdit if there is a stylesheet active :-( Is
> there a way to specify zoom factors in style sheets? I have tried
> 'zoom' and 'zoom-in' with no joy.

You are probably best asking this on a Qt mailing list.

Phil


More information about the QScintilla mailing list