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.
最新のドキュメントを確認しましたが、関連するものは見つかりませんでした。クラスに a へのポインターを配置し、関数を使用してこの子項目を削除しQListWidgetItemたいと考えています。QListWidget
QListWidgetItem
QListWidget
私が見つけたのは、これを ID で削除することだけでしたtakeItem (i)。
takeItem (i)
これを行うためのより良い/実際の方法はありますか?
リストからアイテムを削除するには、takeItem()を使用します。
ドキュメントによると、それが使用する正しい方法です。