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.
我想解决Qt5 / Qt3D中的问题。用户按下一个按钮,然后一些按钮QEntity消失(被删除或隐藏)。that QEntity's object 是根实体的子对象。使用Python和PySide2实现它的最简单方法是什么?
QEntity
正如 Florent Uguet 所说:
entity.setEnabled(False)
隐藏QEntity在现场和
entity.setEnabled(True)
显示它。