[Interest] QtProperty System

Bo Thorsen bthorsen at ics.com
Fri Feb 21 12:33:08 CET 2014


Den 21-02-2014 09:01, Graham Labdon skrev:
> Hi
> I have been reading about Qt's property system, in particular the NOTIFY optional specifier.
> Can NOTIFY be used with non Qml/QtQuick applications?

You can, but it doesn't do anything unless you code this yourself. The 
NOTIFY just tells the introspection what signal is used to notify 
changes. Unless you use this information for something yourself, it is 
useless.

QML uses this to update the bindings. You can do something similar yourself.

Bo.

-- 
Bo Thorsen, European Engineering Manager, ICS
Meet me at our quickstarts across Europe in March.
London, Copenhagen, Hamburg, Munich and Zurich.
See this page: http://ics.com/qt-quickstart



More information about the Interest mailing list