Okay, but how can I use the resizeEvent() as a SIGNAL of the QDockWidget?
When I type the connect command, resizeEvent is not existing in the list of available signals.

Qt Code:
  1. connect(ui->dockWidget_Contractor,SIGNAL(topLevelChanged(bool)), this,SLOT(testsub()));
To copy to clipboard, switch view to plain text mode