![](/img/trans.png)
[英]How to reproduce the same operations (Copy, Paste, ...) on different items of a Qt Model/View?
我有一個自定義QTreeView並用自定義QStandardItems填充它。 model 是一個經典的QStandardItemModel 。 我希望有可能在 Tree 中重復相同的項目。 這意味着如果我更改項目的某些屬性(例如:文本)或者如果我更改其子項的某些屬性,這些更改將重復到相應的項目 ...