On Thu, Apr 9, 2020 at 2:21 AM vitalije <[email protected]> wrote:

Is it that the existing code recreates all the QT items from scratch every
> time there is a redraw? And your code can add/remove a much smaller subset
> of QT items because of your set operations?
>

Yes, that's the difference.


> I didn't quite follow your example about expanding a node. When a node is
> expanded, then the children or descendants must appear in the display. How
> does that relate to the "set of links" you are using to represent the
> outline structure?
>


> In my code, all nodes both visible and invisible are added to the tree
> once.
>

Sounds interesting.

> In the new scheme every position has its own item in the QTreeWidget and
> every item keeps track of its expanded/collapsed state.
>

Sounds very interesting :-)

Please continue your work. I fully approve.

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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/CAMF8tS1t1Gq3y7b1%2B%2BjpL%2BqWD3xLttOiF1FrtyEqYfZrppVozw%40mail.gmail.com.

Reply via email to