[Interest] Writing custom Qt Widgets is overly complicated

Jonathan Purol contact at folling.de
Wed Apr 29 22:00:52 CEST 2020


On 4/29/20 7:37 PM, Matthew Woehlke wrote:
> I think you may be taking a poor approach. My knee-jerk reaction is that
> you should be using a custom object in a rich text edit. While this
> appears feasible for rendering, it seemsĀ¹ that mouse handling is not
> well thought-out.

I believe you might have hit gold for me there. I wasn't aware of the
QTextObjectInterface class though it seems to be exactly what I was
looking for. I shall investigate and see if it works for what I wanted
to achieve, thank you very much!

Sincerely,
Jonathan


More information about the Interest mailing list