Loading Layout without destroying existing panes |
Post Reply |
Author | |
jbriguet
Newbie Joined: 27 March 2013 Status: Offline Points: 7 |
Post Options
Thanks(0)
Posted: 28 February 2014 at 11:13am |
Hi, I'm encountering a very annoying issue with the docking panes.
Situation is this : 1) I have several panes in a docking pane manager. 2) I save the layout to an xml file. 3) In visual studio, I add a pane in my code, docked somewhere in my ui. 4) I restart my program 5) I load the previously loaded layout, 6) My new pane (created in step 3) have been destroyed. 7) I have to, each time I add a new pane (step 3) to my UI, handle specifically the new panes that were destroyed when loading the layout. Is there any simple way to avoid this mess, to not destroy pane and their child when loading a layout. To simply apply the layout to the existing pane, and at worst, closing the (potentially new) ones not in the layout we loaded ? I tried to dive in the DockingPaneLayout::Copy stuff, but the copy is actually destroying and cloning lot of stuff, and so are the dockingpanebase::Copy derived classes and methods. Should i go directly to a support request for this matter ? |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |