[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    [PyKDE] Scribbling on QTextEdit/QTextBrowser
From:       Michael Sparks <zathras () thwackety ! com>
Date:       2004-05-25 21:44:22
Message-ID: Pine.LNX.4.44.0405252224500.18223-100000 () pingu ! thwackety ! com
[Download RAW message or body]

Hi,


I'm playing with PyQT under Linux at the moment... I'm wondering - is
there a way of mixing _something like_ QPainter with both/either
QTextEdit/QTextBrowser. The scenario I'm thinking of is scribbling notes
on these as annotations.  (for example running on a PDA/tablet PC2)
Something similar to DHTML layers would be the ideal sort of scenario...

The question I have is this - is this possible with PyQT?

I've looked at the QGL overlay stuff, but this seems to be very dependent
on facilities in your display system. (That wouldn't be a problem, but it
appears the X-Server for my graphics card is one of the ones that doesn't
support overlay!)

Failing that, does anyone know of a way of anchoring something like a
QPainter widget inside QTextEdit/QTextBrowser in the same way you would
anchor an image ? (This might actually be a more appropriate approach IMO)

Any comments/pointers very much appreciated :)


Michael.

_______________________________________________
PyKDE mailing list    PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic