You are not logged in.

Dear visitor, welcome to If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.


Sunday, April 9th 2006, 4:33am

QDockWidget : hidding signal ?

Hello !

I can't find a signal that is raised when my QDockWidget has been hidden or closed by the user (Using the cross for example), in order to uncheck a box that allow the user to show/hide the QDockWidget.

The topLevelChanged signal seems not to be the solution.

I past the last 2 days on this, and I can't understand how to resolve that matter...

Perhaps using a reimplementation of the hideEvent ?
But I don't understand how to use it on my widget X(...
I have a QMainWidow and a QDockWidget, so I konw how to reimplement the hideEvent for the QMainWindow, but what would help me is to reimplement it for the QDockWidget... ?(.

Or perhaps the solution would be to reimplement the hideEvent for my QMainWidow, and trying to know if it is the QDockWidget that called it ?
How can I know witch widget called the hideEvent ?

Coul you help me please ?

This post has been edited 2 times, last edit by "Nyphel" (Apr 9th 2006, 4:49am)