Person is a `QObject`, the `Age` is a gadget I've exposed from C++.

Then it's easy. If the "age" property is declared in C++, already today you can do the following (just like with font):

property var person: Person {
    age {
        years: 12
        months: 4
    }

    Simulation.onAdvanced: age.months++
}
_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to