布局如何清空?以便重布!
void AddrBookDlg::createNewTable (){ //表格delete又new了 SECURE_DELETE (m_ptableContacts); m_ptableContacts = new AddrBookTableWidget (); //重新加载 m_phlayoutAddrBookTable->deleteAllItems(); //??? m_phlayoutAddrBookTable->addWidget(m_ptableContacts); m_phlayoutAddrBookTable->addStretch();}