FluentUI/example/qml/page/T_OpenGL.qml

27 lines
623 B
QML
Raw Permalink Normal View History

2024-04-11 14:56:22 +08:00
import QtQuick 2.15
import QtQuick.Layouts 1.15
import QtQuick.Window 2.15
import QtQuick.Controls 2.15
import FluentUI 1.0
import example 1.0
import "../component"
FluContentPage{
title: qsTr("OpenGL")
FluFrame{
anchors.fill: parent
OpenGLItem{
2024-04-11 15:27:15 +08:00
anchors.fill: parent
2024-04-11 14:56:22 +08:00
SequentialAnimation on t {
NumberAnimation { to: 1; duration: 2500; easing.type: Easing.InQuad }
NumberAnimation { to: 0; duration: 2500; easing.type: Easing.OutQuad }
loops: Animation.Infinite
running: true
}
}
}
}