forked from mfreiholz/Qt-Advanced-Docking-System
-
Notifications
You must be signed in to change notification settings - Fork 657
Open
Description
Hello! Thanks for your library!
In my app, I need to know the reason why the CDockWidget is closed (i.e. the user clicked on the x button or it is closed because it should not be displayed in the current program mode).
I use the closeRequested signal to distinguish between these two cases and store this additional information in my objects.
It works fine, but the problem starts when I start using perspectives. This additional information is lost.
I think it might be useful to store user's custom property in a dock widget and save it in perspectives.
I've created a pull request that adds this functionality.
Or maybe there is another way to solve my problem and I misunderstood something.
Metadata
Metadata
Assignees
Labels
No labels