摘要:        
今天试着实现代码遍历Layout中的空间,百度and Google了一下,试了几遍,以下是我的做法:QList<QGroupBox*> lstgroupBox = this->findChildren<QGroupBox*>(); for(int i = 0; i < lstgroupBox.count(); i++ ) { foreach(QObject* objbutton, lstgroupBox[i]->children()) { btn = qobject_cast<QPushButton*>(objbutton); ...    阅读全文
        
            posted @ 2013-05-12 14:30
wiessharling
阅读(215)
评论(0)
推荐(0)
        
        

 
 浙公网安备 33010602011771号
浙公网安备 33010602011771号