dlr-gtlab / gtlab-core

GTlab Core Framework
https://www.gtlab.de
Other
7 stars 2 forks source link

[CHANGE] - Refactor GtMdiLauncher and resolve ownership issues of MDI Items and their widgets #1199

Open mariusalexander opened 4 months ago

mariusalexander commented 4 months ago

Summary

The GtMdiLauncher is quite messy IMHO. Both from an API point of view and from looking at the code it is not clear who ownes which objects.

For example, there are connections that ....

Maybe we could work with unqiue_ptr or the "volatile" pointer from the IntelliGraph module to make this system and the API more clear.

Detaching a widget became quite messy due to these relation ships (see #604)

Impact on the codebase

Ideally this should both result in a ABI and API change

Current workarounds

No response