forked from qt-creator/qt-creator
QmlDesigner: Add AnimatedImage
Change-Id: Ib7f13c27b2250c9c1447ad4915782cd8050a740e Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
committed by
Tim Jenssen
parent
33a0ab8943
commit
f6ddfd6265
@@ -111,6 +111,22 @@ MetaInfo {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Type {
|
||||||
|
name: "QtQuick.AnimatedImage"
|
||||||
|
icon: ":/qtquickplugin/images/image-icon16.png"
|
||||||
|
|
||||||
|
ItemLibraryEntry {
|
||||||
|
name: "Animated Image"
|
||||||
|
category: "Qt Quick - Basic"
|
||||||
|
libraryIcon: ":/qtquickplugin/images/image-icon.png"
|
||||||
|
version: "2.0"
|
||||||
|
|
||||||
|
Property { name: "width"; type: "int"; value: 100; }
|
||||||
|
Property { name: "height"; type: "int"; value: 100; }
|
||||||
|
Property { name: "source"; type: "QUrl"; value:"qrc:/qtquickplugin/images/template_image.png"; }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
Type {
|
Type {
|
||||||
name: "QtQuick.BorderImage"
|
name: "QtQuick.BorderImage"
|
||||||
icon: ":/qtquickplugin/images/border-image-icon16.png"
|
icon: ":/qtquickplugin/images/border-image-icon16.png"
|
||||||
|
|||||||
Reference in New Issue
Block a user