[Development] Why don't we have notify signal for all of the properties?

Olivier Goffart olivier at woboq.com
Fri Jul 6 13:30:21 CEST 2012


On Friday 06 July 2012 13:02:16 André Somers wrote:
> Op 6-7-2012 12:45, Tr3wory schreef:
> > Hi all!
> > 
> > I found the QML's property binding system really powerful, but as far
> > as I understand on the C++ side it relies on the property's NOTIFY
> > signal.
> > I know the notify signal is added around Qt 4.6, and as far as I
> > understand we couldn't add more signals to existing properties in the
> > 4.x timeframe because of the binary compatibility. (Please correct me
> > if I'm wrong about this.)

As already pointed out, adding NOTIFY signal is not binary incompatible. Feel 
free to submit patches that add them :-)

> 
> I'm curious what other signals you see room for? I can't think of other
> useful signals in the contect of a property.
> What I *would* like, is to have a mechanism of having additional
> attributes for properties. That would make creating property-editor like
> interfaces much easier. However, I am not sure if extending this is all
> that useful for the majority of uses of Qt.

There is already quite a lot of possible attributes.
What others attribute do you need?

-- 
Olivier

Woboq - Qt services and support - http://woboq.com



More information about the Development mailing list