aboutsummaryrefslogtreecommitdiffstats
path: root/examples/tutorials/gettingStarted/gsQml/pics/qml-texteditor5_newfile.png
diff options
context:
space:
mode:
authorChris Adams <christopher.adams@nokia.com>2011-11-02 10:21:37 +1000
committerQt by Nokia <qt-info@nokia.com>2011-12-01 02:40:06 +0100
commitfdbdbbdd4ff05d1ceb7667227db5b14687a77c96 (patch)
tree6f738ccc1d784a8dc18bff15cdbcb8e6973c48e8 /examples/tutorials/gettingStarted/gsQml/pics/qml-texteditor5_newfile.png
parentf304dd6fbb9d901c0a72609dc3c384eab4935f93 (diff)
Add support for assigning literal value to sequence property
It is a language semantic that we allow clients to assign a single value to a sequence/list property (assuming that the types match). Now that we support sequence types, this commit adds support for this semantic by determining whether the built-in type of the literal corresponds to the associated sequence (eg, int for QList<int>, qreal for QList<qreal>, bool for QList<bool>, QString for QStringList etc). Similarly, some value types can be constructed from literal string values (via string converters) and these need to be handled also. Task-number: QTBUG-18062 Task-number: QTBUG-21770 Change-Id: Iacd91b2af122cd8f20b7df2fa6056a7d7c52bf53 Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com>
Diffstat (limited to 'examples/tutorials/gettingStarted/gsQml/pics/qml-texteditor5_newfile.png')
0 files changed, 0 insertions, 0 deletions