Qt Declarative (Quick 2)
Go to file
J-P Nurmi b7738beda6 Make QML composite types inherit enums
Problem: in Qt Quick Controls 2, enums declared in the abstract
C++ base types were not accessible with the concrete QML type name,
but had to be referenced using the base type name:

    Slider {
        snapMode: AbstractSlider.SnapOnRelease
    }

Solution: this change resolves the C++ base type and creates the
missing link between the composite type and its base type's meta-
object. This allows referencing enums using the concrete/composite
QML type name:

    Slider {
        snapMode: Slider.SnapOnRelease
    }

Change-Id: Icefdec91b012b12728367fd54b4d16796233ee12
Task-number: QTBUG-43582
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
2015-09-21 19:59:27 +00:00
bin Update copyright headers 2015-02-12 10:28:11 +00:00
dist Added auto-generated change log 2015-06-04 10:23:50 +00:00
examples Doc: Corrected link errors 2015-09-07 13:46:55 +00:00
src Make QML composite types inherit enums 2015-09-21 19:59:27 +00:00
tests Make QML composite types inherit enums 2015-09-21 19:59:27 +00:00
tools qml/qmlscene: Add command line option -no-scaling for Qt::AA_NoHighDpiScaling. 2015-09-07 10:32:49 +00:00
.gitattributes Update the git-archive export options 2012-09-10 14:24:05 +02:00
.gitignore Add files generated by tests to gitignore 2014-12-20 20:24:25 +01:00
.gitmodules Update Ecmascript testsuite submodule 2015-03-17 11:38:42 +00:00
.qmake.conf Bump version 2015-06-29 10:47:36 +02:00
.tag Update the git-archive export options 2012-09-10 14:24:05 +02:00
LGPL_EXCEPTION.txt Update copyright headers 2015-02-12 10:28:11 +00:00
LICENSE.FDL Add license files mandated by (L)GPL. 2013-02-15 00:03:10 +01:00
LICENSE.GPLv3 Add the GPLv3 license text 2015-08-13 15:04:27 +02:00
LICENSE.LGPLv3 Add the GPLv3 license text 2015-08-13 15:04:27 +02:00
LICENSE.LGPLv21 Update copyright headers 2015-02-12 10:28:11 +00:00
qtdeclarative.pro Prospective build fix in the CI system for iOS 2014-02-16 16:06:17 +01:00
sync.profile Merge remote-tracking branch 'origin/5.5' into dev 2015-03-17 09:52:19 +01:00