hi bercik, fxam, thanks for the advice.
i could make it work by forcing the signal to be emitted,
void MaQGate::SomethingChanged(void)
{
nameChanged();
weightChanged();
}
I call SomethingChanged() after a property change,
and the QML is synced. IT WORKS !
This works fine for now,
I’ll have a closer look at QAbstractListModel,
it may be a more elegant solution.
↧