Replies: 1 comment 3 replies
-
Closing a dock widget does not delete it, it just make it invisible. You can always connect the If you just started using this library I suggest running doxygen on it, will make it easier to navigate the API. You can also use my precompiled doxygen output: qtads.zip |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to add this great tool into our pyside6 application and I have made a lot of progress so far. What I am missing is a notification for when a docking window is closed, so I could do a proper cleanup of the widget that was part of it. There are some signals there, but none that would help me when user clicks on X of the tab and closes it. The closest two I was able to find were dockWidgetRemoved and dockWidgetRemoved signals, but they don't seem to be emitted when X is clicked - documentation is saying it will be emitted only when removeDockWidget() is called.
Since I asked this originally, I have set DockWidgetDeleteOnClose feature to True for the DockWidget object and now I am able to get both dockWidgetAboutToBeRemoved and dockWidgetRemoved signals.
Is this the best way to track down which widget is being closed or there is a better way?
Beta Was this translation helpful? Give feedback.
All reactions