qDialog & <keep-alive>
I just realised I have no way of keeping alive the content of dialogue. Or do I ?
Every time the dialog opens its content will be recreated. See example here:
My problem is that I have some complex tree in there which takes quite a hit to create and makes the animation of dialog sluggish …
Another reason is that scroll position in the dialog doesn’t get last or the open nodes of a tree stay open (or closed) without having to do any work on storing their state.
Anyway to accomplish this ? Thank you !