> these TextInput are from MeeGo Touch right?

No, they are the core QML elements inside the TextField/TextArea 
implementations we're making now.


Cheers
Mathias

________________________________________
From: ext Kenneth Rohde Christiansen [kenneth.christian...@gmail.com]
Sent: Sunday, December 19, 2010 1:24 AM
To: Malmqvist Mathias (Nokia-MS/London)
Cc: Cunha Leo (Nokia-MS-Qt/Oslo); qt-compone...@trolltech.com
Subject: Re: [Qt-components] [API Proposal] TextField & TextArea

Problem with putting "is" in front of any property is that 1) no core QML 
property
does that already, and 2) you get an onIsPasswordFieldChanged signal slot, which
is a bit of a mouth-full.

Got it.

>>  property bool acceptableInput // this is a read-only property
> What is this?

It's the property that says whether the text that has been entered passed the
validator's tests. The name is very unclear, but it's the same as the TextInput 
and
TextEdit already use. Is it unclear enough to warrant aliasing as another name?

validInput, validatedInput?


> Remember that you can select from right to left having start > end
> In WebKit we use Base and Extend instead of start and end.

Good suggestion, but the again sticking to the names that TextInput and TextEdit
use is probably a good thing.

Sorry, I'm not really following the project that closely, but these TextInput 
are from MeeGo Touch right? If so, MeeGo Touch is going to go away at some 
point, so it would be sad to carry over its bad API's. After all, good API's is 
one of those things which has made Qt what it is today.


--
Kenneth Rohde Christiansen
Senior Engineer
Application and Service Frameworks, Nokia Danmark A/S
Phone  +45 4093 0598 / E-mail kenneth.christiansen at 
gmail.com<http://gmail.com>

http://codeposts.blogspot.com ﹆﹆﹆
_______________________________________________
Qt-components mailing list
Qt-components@qt.nokia.com
http://lists.qt.nokia.com/mailman/listinfo/qt-components

Reply via email to