On Thu, Jan 8, 2009 at 4:19 PM, Edward K. Ream <[email protected]> wrote:

> 4. Expanding a tree item will probably *not* count as changing the
> tree.  That is, I hope that the revised code can create tree items as
> necessary when they are first revealed, without actually redrawing the
> entire tree.
>
> This could be tricky.  Drawing the newly-revealed nodes is the easy
> part. The hard part is to determine when an tree node must be expanded
> as the result of a cursor movement.  This problem didn't exist with
> the "non-clever" code: Leo's core simply calls c.redraw.

Why not just hook into itemExpanded signal?

http://doc.trolltech.com/4.0/qtreewidget.html#itemExpanded

-- 
Ville M. Vainio
http://tinyurl.com/vainio

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