• Chris Adams's avatar
    Allow literal enum to int property assignments · 4c9d3262
    Chris Adams authored
    Previously, enum to int property assignments were considered bindings.
    This commit adds support for assigning enum values to int properties
    as enums.
    
    Note that to use an enum in QML, it must have been declared with
    Q_ENUMS or otherwise registered as a metatype.  Enum values from the
    global Qt object are also usable.
    
    Task-number: QTBUG-23403
    Change-Id: I50db6cae54a24400ea472bde43619d547e4ceb78
    Reviewed-by: default avatarMichael Brasser <michael.brasser@nokia.com>
    4c9d3262
Name
Last commit
Last update
bin Loading commit data...
doc Loading commit data...
examples Loading commit data...
imports Loading commit data...
modules Loading commit data...
src Loading commit data...
tests Loading commit data...
tools Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.tag Loading commit data...
qtdeclarative.pro Loading commit data...
sync.profile Loading commit data...