@JNBarchan
It's great. I just use this function: QWidget::createWindowContainer. Maybe I can try to modify the code. Thank you for your reply.