Animaciones
Animar una propiedad (x, opacity) es un procedimiento sencillo.
stackView.push("qrc:/Home.qml")
stackView.push("qrc:/Users.qml")// main.qml
import QtQuick 2.15
import QtQuick.Controls 2.15
import QtQuick.Window 2.15
import org.mauikit.controls 1.3 as Maui
Maui.ApplicationWindow
{
id: root
title: qsTr("")
width: Screen.desktopAvailableWidth - Screen.desktopAvailableWidth * 45 / 100
height: Screen.desktopAvailableHeight - Screen.desktopAvailableHeight * 20 / 100
Component.onCompleted: {
stackView.push("qrc:/Home.qml")
}
Maui.SideBarView
{
id: sideBarView
anchors.fill: parent
sideBarContent: Maui.Page
{
id: sideBarPage
anchors.fill: parent
Maui.Theme.colorSet: Maui.Theme.Window
headBar.leftContent: ToolButton {
icon.name: "start-over"
onClicked: {
stackView.push("qrc:/Home.qml")
}
}
}
Maui.Page
{
anchors.fill: parent
showCSDControls: true
headBar.background: null
StackView {
id: stackView
anchors.fill: parent
clip: true
}
}
}
}
Curvas de animación

Elementos para efectuar animación.
Last updated