Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
可能重复: 如何清除父小部件中的所有小部件?
我有很多按钮和标签,我想一次将它们全部删除。是否有某种内置函数或者有一个我可以编写的函数。我是 C++ 和 Qt 的新手,所以请多多解释。提前致谢。