Added an editable item delegate. Only Factor plus/minus button are working for now. (based on https://doc.qt.io/qt-6/qtquick-views-example.html as well)
This commit is contained in:
@ -12,9 +12,11 @@ Page {
|
||||
clip: true
|
||||
|
||||
model: mainModel
|
||||
delegateModelAccess: DelegateModel.ReadWrite
|
||||
|
||||
// delegate: ListItemDelegate {}
|
||||
delegate: ExpandableItemDelegate {}
|
||||
// delegate: ExpandableItemDelegate {}
|
||||
delegate: EditableItemDelegate {}
|
||||
|
||||
header: bannercomponent
|
||||
footer: Rectangle {
|
||||
|
||||
Reference in New Issue
Block a user