On Wed, May 1, 2013 at 8:42 AM, Terry Brown <[email protected]> wrote:

>
>
> QTextEdit#richTextEdit { background-image:
> url('/home/tbrown/Desktop/cow2.jpg'); }
>
> in the stylesheet gives the effect attached (i.e. it works).
>
> If you wanted node specific backgrounds Leo would have to start setting
> an attribute on the body widget, probably the gnx, so you could do
>
> QTextEdit#richTextEdit[leo_gnx='tbrown.20130430222443.19340'] {
>   background-image: url('/home/tbrown/Desktop/cow2.jpg');
> }
>

Wow!  Thanks for this.  LeoUser wrote a version of Leo in Jython (using the
Swing classes), and he claimed that he could watch *movies* in the body
pane :-)

I'll add this to the Leo/To Document list.  Not sure yet how that list is
going to get translated into action.  Still reading Getting Things Done :-)

Edward

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


Reply via email to