QmlDesigner: Add timer to library

Task-number: QDS-7582
Change-Id: I048b08cae236bbce39d83c6881abad21592fcb8b
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
This commit is contained in:
Thomas Hartmann
2022-09-21 13:50:14 +02:00
parent 3d3290424a
commit c3f5a9bf0d
5 changed files with 22 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 339 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 712 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@@ -98,5 +98,8 @@
<file>images/timeline-16px.png</file> <file>images/timeline-16px.png</file>
<file>images/keyframe-16px.png</file> <file>images/keyframe-16px.png</file>
<file>images/timeline-animation-16px.png</file> <file>images/timeline-animation-16px.png</file>
<file>images/timer-16px.png</file>
<file>images/timer-24px.png</file>
<file>images/timer-24px@2x.png</file>
</qresource> </qresource>
</RCC> </RCC>

View File

@@ -487,6 +487,25 @@ MetaInfo {
} }
} }
Type {
name: "QtQml.Timer"
icon: ":/qtquickplugin/images/timer-16px.png"
Hints {
visibleInNavigator: true
canBeDroppedInNavigator: true
canBeDroppedInFormEditor: false
canBeContainer: false
}
ItemLibraryEntry {
name: "Timer"
category: "d.Qt Quick - Animation"
libraryIcon: ":/qtquickplugin/images/timer-24px.png"
version: "2.0"
}
}
Type { Type {
name: "QtQml.Component" name: "QtQml.Component"
icon: ":/qtquickplugin/images/component-icon16.png" icon: ":/qtquickplugin/images/component-icon16.png"