I noted that the body editor is instance of QTextBrowserSubclass, like
the log control.

I'm not sure this is a good thing, though I'm not aware of immediate
problems either. That's just not really the way QTextBrowser is meant
to be used.

I tried changing the base class of QTextBrowserSubclass to QTextEdit,
and nothing really broke. In any case, I think we'd be safer of with
real QTextEdit for body editor, creating a new class for that if
necessary. Though, it may be possible to do the mousePressEvent stuff
(which seems to be the raison d'etre for the subclass) in the event
filter.

-- 
Ville M. Vainio
http://tinyurl.com/vainio

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to