Qt Code:
  1. QList<QDockWidget*> = qFindChildren<QDockWidget*>(mainWindow, QString());
To copy to clipboard, switch view to plain text mode