On Tue, Nov 25, 2008 at 5:46 AM, leo_hag <[EMAIL PROTECTED]> wrote:

> I was playing around with gtkOutlineDemo.py trying to get a handle on
> both leo and qt.
>
> So I converted it to qt which was easy, and finished off the lines and
> edit widget that were missing from the original, not much more
> difficult.

Thanks for this work.  I'll look at it later this week.  I'm about to
leave for the airport now.

It would be simpler to base any new version on the present code:
otherwise you risk trying to keep pace with what I have just done.

There is only one aspect of the tree widget that I am considering
improving.  Rather than redrawing the entire tree, the widget should
redraw only needed sections.

Just a couple of days ago I saw how to do so cleanly.  The essential
part of the redrawing algorithm is drawing a list of siblings.  If the
to-be-drawn siblings match the existing sibs, do nothing.  Otherwise,
the algorithm can try to be "clever" by detecting inserted, deleted or
moved siblings, or the algorithm can simply redraw all the siblings,
along with their *entire* subtrees.

This scheme is simple, and will be *much* more efficient than the
present scheme.  Furthermore, no redraw will ever be needed when a
tree item is expanded.

> I would also like to suggest that qt leo moves to using dockable
widgets for the layout instead of splitters.

I'd like to see a demo of that.

> I would like the minibuffer widget put in a toolbar so it can be moved around 
> and
share space with other widgets.

I don't see the utility of that, but again, a demo would be good.

> Perhaps you could suggest where I might best fit into your project?

Base any demo on the existing plugin.

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

Reply via email to