我想實現我的QTreeView中的複製和粘貼操作對我的上下文菜單複製和粘貼我有子類QAbstractItemModel。我有樹形說,四名範圍Tope水平的項目和他們每個人都具有多個子 Top Item1
----------
Child1
Child11
Child111
Top Item2
----------
Top It
我需要編寫一個樹?,在pyqt。它看起來像這樣: Clients(this is text)
Type A (this is a Clients child and has a checkbox)
Type B (this is a Clients child and has a checkbox)
Vendors(this is text)
Mary (this