On Mon, 15 Jun 2015 09:23:26 -0700 (PDT)
"Edward K. Ream" <edream...@gmail.com> wrote:

> On Monday, June 15, 2015 at 10:21:35 AM UTC-5, Edward K. Ream wrote:
> >
> > I'm stumped.  I've looked in the QTreeWidget docs and @data 
> > qt-gui-plugin-style-sheet, and googled related topics.
> 
> Ah.  I actually found the clue yesterday.  The "old" @data 
> qt-gui-plugin-style-sheet that was to be used for themes had these 
> selectors:

There's also the search path described in 

leo-editor/leo/core/LeoPyRef.leo#Code-->Qt gui-->@file 
../plugins/qt_gui.py-->class 
LeoQtGui(leoGui.LeoGui)-->LeoQtGui.Icons-->LeoQtGui.getImageImage

Cheers -Terry

> QTreeView::branch:closed:has-children{
>    image: url("/home/.leo/icons/nodes-dark/closed.png");
> }
> 
> QTreeView::branch:open:has-children{
>    image: url("/home/.leo/icons/nodes-dark/open.png");
> }
> 
> I'd like to make something like this part of the new, "fully
> parameterized" @data qt-gui-plugin-style-sheet node. 
> 
> If that works, there is one final problem with @data 
> qt-gui-plugin-style-sheet node. At present, the background color for
> both the tree arrow and the icon area is wrong: kinda orange when the
> tree has focus.  White/None when the body pane has focus.  The orange
> background bleeds through the icon, which spoils the effect.  The
> white background is perhaps more annoying...
> 
> EKR

-- 
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