[Qt-qml] Changes to focus properties

michael.brasser at nokia.com michael.brasser at nokia.com
Thu Jul 8 06:32:38 CEST 2010


Hi,

I have some small changes to the focus-related properties that I'm hoping to commit in the next couple days:

* 'wantsFocus' will be renamed to 'activeFocus'
* the semantics of reading from 'focus' will change to indicate whether the item is the focus item for its FocusScope

This fixes two confusions with the current properties: (1) the 'wantsFocus' name doesn't really match what that property does, and (2) the semantics of reading from vs. writing to 'focus' are currently very different. 

For more on the change see the attached path; I'm happy to give more details on the reasoning if anyone is interested.

Regards,
Michael

-------------- next part --------------
A non-text attachment was scrubbed...
Name: focus.diff
Type: application/octet-stream
Size: 5739 bytes
Desc: focus.diff
Url : http://lists.qt.nokia.com/pipermail/qt-qml/attachments/20100708/39d3a533/attachment.obj 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ATT00001..txt
Url: http://lists.qt.nokia.com/pipermail/qt-qml/attachments/20100708/39d3a533/attachment.txt 


More information about the Qt-qml mailing list