On Tue, 25 Aug 2015 10:14:17 -0700 (PDT)
john lunzer <lun...@gmail.com> wrote:

> I'm at the point where I'm trying to convert my quick-replace
> @command to a plugin and I looked around in the current plugins but I
> couldn't find an example of how I apply Leo's main stylesheet to
> floating QtWidgets. I'm trying to match Leo's look and feel. Any
> guidance would be greatly appreciated.

I'd aim for free_layout integration.

https://github.com/leo-editor/snippets/blob/master/examples/demo_widget.py

then your widget can be mixed into the pane layout in the main window
or opened in its own window (which supports panes and other widgets
too).  I think this will handle the stylesheet thing as well.

Cheers -Terry

-- 
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 leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to