forked from qt-creator/qt-creator
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:
BIN
src/plugins/qmldesigner/qtquickplugin/images/timer-16px.png
Normal file
BIN
src/plugins/qmldesigner/qtquickplugin/images/timer-16px.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 339 B |
BIN
src/plugins/qmldesigner/qtquickplugin/images/timer-24px.png
Normal file
BIN
src/plugins/qmldesigner/qtquickplugin/images/timer-24px.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 712 B |
BIN
src/plugins/qmldesigner/qtquickplugin/images/timer-24px@2x.png
Normal file
BIN
src/plugins/qmldesigner/qtquickplugin/images/timer-24px@2x.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.3 KiB |
@@ -98,5 +98,8 @@
|
||||
<file>images/timeline-16px.png</file>
|
||||
<file>images/keyframe-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>
|
||||
</RCC>
|
||||
|
@@ -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 {
|
||||
name: "QtQml.Component"
|
||||
icon: ":/qtquickplugin/images/component-icon16.png"
|
||||
|
Reference in New Issue
Block a user