FluentUI/example/T_ToggleSwitch.qml

19 lines
312 B
QML
Raw Normal View History

2023-02-28 18:29:00 +08:00
import QtQuick 2.15
import QtQuick.Layouts 1.15
import QtQuick.Window 2.15
2023-03-06 18:08:01 +08:00
import QtQuick.Controls 2.15
2023-02-28 18:29:00 +08:00
import FluentUI 1.0
2023-03-10 18:08:32 +08:00
FluScrollablePage{
title:"ToggleSwitch"
2023-02-28 18:29:00 +08:00
2023-03-10 18:08:32 +08:00
FluToggleSwitch{
Layout.topMargin: 20
2023-02-28 18:29:00 +08:00
}
2023-03-20 18:22:32 +08:00
FluToggleSwitch{
Layout.topMargin: 20
text:"Disabled"
}
2023-02-28 18:29:00 +08:00
}