Re: Help! How do themes specify alternate expand/contract icons?

2015-06-15 Thread 'Terry Brown' via leo-editor
On Mon, 15 Jun 2015 09:23:26 -0700 (PDT)
"Edward K. Ream"  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.


Re: Help! How do themes specify alternate expand/contract icons?

2015-06-15 Thread Edward K. Ream
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:


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.


Re: Plans for the near future

2015-06-15 Thread Edward K. Ream
On Mon, Jun 15, 2015 at 10:29 AM, john lunzer  wrote:

>
> BTW, not sure if you get comments from 'closed' issues on GitHub but I
> provided an example of where Find All / Replace All was failing for me with
> 'suboutline only'. I think I don't have the right permissions to reopen a
> closed issue. I'm wondering if I'm confused about what 'suboutline' means.
>

​It's on my list.

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.


Re: Plans for the near future

2015-06-15 Thread john lunzer
Now we're talking! Improving find is a great idea!

BTW, not sure if you get comments from 'closed' issues on GitHub but I 
provided an example of where Find All / Replace All was failing for me with 
'suboutline only'. I think I don't have the right permissions to reopen a 
closed issue. I'm wondering if I'm confused about what 'suboutline' means. 

On Monday, June 15, 2015 at 11:13:06 AM UTC-4, Edward K. Ream wrote:
>
> For the next 2 weeks to 2 months my focus will be on fixing bugs and 
> making Leo easier to use:
>
> 1. Simplified theme handling.  I've been working on this for several 
> days.  More in other threads.
>
> 2. Making Leo's Find tab a non-modal dialog, as in Scite.  This will help 
> newbies by making the Find tab more standard.  It will also eliminate 
> sizing issues re the Find tab.
>
> 3. Showing Find settings in the status area for minibuffer-oriented finds. 
> This will help advanced users.
>
> 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 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.


Help! How do themes specify alternate expand/contract icons?

2015-06-15 Thread Edward K. Ream
I'm stumped.  I've looked in the QTreeWidget docs and @data 
qt-gui-plugin-style-sheet, and googled related topics.

I don't understand:

1. Where alternate expand/contract icons are located, if anywhere, in the 
standard distro.

2. Where users can specify which expand/contract icons to use.

Imagine the typical user's confusion if I don't get it.

I am working on a scheme to use the standard @data 
qt-gui-plugin-style-sheet unchanged for all themes.  This project is going 
well, except for these issues.

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


Plans for the near future

2015-06-15 Thread Edward K. Ream
For the next 2 weeks to 2 months my focus will be on fixing bugs and making 
Leo easier to use:

1. Simplified theme handling.  I've been working on this for several days.  
More in other threads.

2. Making Leo's Find tab a non-modal dialog, as in Scite.  This will help 
newbies by making the Find tab more standard.  It will also eliminate 
sizing issues re the Find tab.

3. Showing Find settings in the status area for minibuffer-oriented finds. 
This will help advanced users.

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


Re: traceback using graphcanvas.py

2015-06-15 Thread lewis
Bug report 196  filed.

Thanks
Lewis

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


Re: traceback using graphcanvas.py

2015-06-15 Thread Edward K. Ream
On Sun, Jun 14, 2015 at 5:48 AM, lewis  wrote:

> Loading a leo file with some graph nodes, I get this traceback when
> graphcanvas.py is active. It occurred with recent build 73c2943c8b11.
> All the output is to console. There are no tracebacks in the leo log.
> I have disabled all plugins except backlink and grpahcanvas.
>

​Thanks for this report.  Please file a bug report at
https://github.com/leo-editor/leo-editor/issues.  I'm in bug-fixing mode at
present, but it may be several days before I get to this.

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.