[Development] QProperty and when evaluation occurs

Filippo Cucchetto filippocucchetto at gmail.com
Thu Jul 23 21:59:25 CEST 2020

Il giorno gio 23 lug 2020 alle ore 21:15 Volker Hilsheimer
<volker.hilsheimer at qt.io> ha scritto:

> But why would we calculate the volume if nobody cares about the volume? :)

Sometimes you want to notify or take actions immediately:
- notify the new volume value through a websocket for being consumed
by javascript
- send an email/message after an alarm has been triggered
That said yes, you can can workaround this limitation through polling
be it a QTimer(0) or whatever

Filippo Cucchetto

More information about the Development mailing list