On Sat, Feb 11, 2012 at 1:24 AM, Ville M. Vainio <[email protected]> wrote: > The loadresource thing could have applications in leo, in the future... > > http://www.digia.com/en/Blogs/Qt-blog/Andy-Shaw/Dates/2012/2/Qt-Commercial-Support-Weekly-13-Literals-in-qmake-and-loading-resources-in-QTextEdit/#.TzX-ppyuzsw.twitter
>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 -- 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.
