FluentUI/example/T_Controls.qml

52 lines
835 B
QML
Raw Normal View History

2023-02-26 23:47:07 +08:00
import QtQuick 2.15
import QtQuick.Layouts 1.15
import QtQuick.Window 2.15
import FluentUI 1.0
Item {
ColumnLayout{
spacing: 5
FluText{
text:"Controls"
fontStyle: FluText.TitleLarge
}
FluButton{
Layout.topMargin: 20
2023-02-27 18:46:39 +08:00
onClicked: {
FluApp.getWIdByWindow(Window.window)
// FluApp.navigate("/Setting")
}
2023-02-26 23:47:07 +08:00
}
FluFilledButton{
onClicked:{
FluApp.navigate("/Setting")
}
}
FluFilledButton{
disabled: true
onClicked:{
}
}
FluIconButton{
Component.onCompleted: {
}
2023-02-27 18:46:39 +08:00
icon:FluentIcons.FA_close
2023-02-26 23:47:07 +08:00
}
FluToggleSwitch{
}
}
}