[PyKDE] Scribbling on QTextEdit/QTextBrowser
Michael Sparks
zathras at thwackety.com
Tue May 25 23:38:00 BST 2004
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.
More information about the PyQt
mailing list