The loadresource thing could have applications in leo, in the future...
From the article:
QQQ
However, what may be news to some of you is how flexible [QTextEdit]
is when it comes to allowing you to insert images, a stylesheet or
even custom resources from various sources. To achieve this we need
to look at QTextDocument which is the class that provides the actual
document where the text editing takes place. Again, this is fairly
straightforward to use on the general level, but in this case we want
to focus on the protected virtual function - loadResource().
Interesting. Thanks for this.
Edward