在Qt里我用.ui文件創建一些局部布局,用來加入到其他界面中去。 我嘗試把相應的控件對象傳過去,但是運行時出現了警告:QLayout::addChildLayout: layout "buttonCalculatorLayout" already has a parent 查看完整描述