diff options
author | Christian Kamm <christian.d.kamm@nokia.com> | 2010-03-25 15:09:11 +0100 |
---|---|---|
committer | Christian Kamm <christian.d.kamm@nokia.com> | 2010-03-25 15:10:08 +0100 |
commit | 4059ea245ed9d739698c0e85628e4f88046c6a78 (patch) | |
tree | e52fa6f0f0a6dd9255fbb4de4ef876b8f969ffa9 /share/qtcreator/qml-type-descriptions | |
parent | 1ebae809ec89e858077cdfbb25f5b651ae44b5fc (diff) | |
download | qt-creator-4059ea245ed9d739698c0e85628e4f88046c6a78.tar.gz |
Teach Qml editor about the Screen type available in the Qml runtime.
Task-number: QTCREATORBUG-874
Diffstat (limited to 'share/qtcreator/qml-type-descriptions')
-rw-r--r-- | share/qtcreator/qml-type-descriptions/qmlruntime-types.xml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/share/qtcreator/qml-type-descriptions/qmlruntime-types.xml b/share/qtcreator/qml-type-descriptions/qmlruntime-types.xml new file mode 100644 index 0000000000..b1e851edd3 --- /dev/null +++ b/share/qtcreator/qml-type-descriptions/qmlruntime-types.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<module> + <type name="QDeclarativeViewer.Screen"> + <enum name="Orientation"> + <enumerator name="UnknownOrientation" value="0"/> + <enumerator name="Portrait" value="1"/> + <enumerator name="Landscape" value="2"/> + </enum> + <property name="orientation" type="Orientation"/> + </type> +</module> |