m_uiForm.aLabel->setVisible(false);
据我所知,这是不可能的。
唯一的途径 setVisible 直接从QtDesigner是修改连接时,你可以找到它作为一个插槽。
setVisible