woboq / qmetaobject-rs

Integrate Qml and Rust by building the QMetaObject at compile time.
MIT License
638 stars 89 forks source link

Add `iter_mut` and `IndexMut` to `SimpleListItem` #266

Open AdrianEddy opened 2 years ago

AdrianEddy commented 2 years ago

Allow to modify item in place and add a function to notify QML that it has changed

ogoffart commented 1 year ago

Sorry for replying so late.

I don't think this is a good idea, because it makes it easy to forget to emit the changed signal.