Qml 2.0 TableView with QAbstractItemModel and Context Menu

前端 未结 2 859
不思量自难忘°
不思量自难忘° 2020-12-30 17:52

I have TableView from Qml 2.0 controls that is connected to QAbstractItemModel. I want to make a context menu that can change the properties or sim

2条回答
  •  时光取名叫无心
    2020-12-30 18:29

    I created a new project based on Kuba Ober answer. I also created a commodity class called QQuickList, that inherits QList and integrates a QObjectListModel. Enjoy.

    https://github.com/Murazaki/QObjectListModel-QQuickList

提交回复
热议问题