CorradoMotta / ASV_interface

Repository to store progress on the ASV interface development
0 stars 0 forks source link

Q_INVOKABLE vs Q_PROPERTY #30

Open CorradoMotta opened 2 years ago

CorradoMotta commented 2 years ago

Issue:

When I want to post a new value on MQTT broker i am calling a publish method named Q_INVOKABLE. However, the variable is saved as a Q_PROPERTY and a possible better flow would be to set a new value to that variable. Such action will emit a signal that can trigger the publish method. We should investigate on which one is better