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.
QTreeWidget 内の項目を削除しようとしています。どうすれば削除できますか? 削除するのではなく、削除したいだけで、方法が見つかりません。
アイテムQTreeWidgetItemを呼び出すと、ツリーウィジェットから呼び出すことでアイテムsetHidden(bool)を取得できますtopLevelItem(int index)
QTreeWidgetItem
setHidden(bool)
topLevelItem(int index)