Is it possible to make the resizing of a QDockWidget happen after mouse release? Same as opaque sizing of the QSplitter?

Thanks.