2023-03-25 12:41:56 +08:00
|
|
|
|
import QtQuick
|
|
|
|
|
import QtQuick.Controls
|
|
|
|
|
import QtQuick.Layouts
|
|
|
|
|
import QtQuick.Window
|
|
|
|
|
import FluentUI
|
2023-03-11 14:41:31 +08:00
|
|
|
|
|
|
|
|
|
FluScrollablePage{
|
|
|
|
|
|
|
|
|
|
title:"TimePicker"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
FluArea{
|
|
|
|
|
width: parent.width
|
|
|
|
|
Layout.topMargin: 20
|
|
|
|
|
height: 80
|
|
|
|
|
paddings: 10
|
|
|
|
|
|
|
|
|
|
ColumnLayout{
|
|
|
|
|
|
|
|
|
|
anchors{
|
|
|
|
|
verticalCenter: parent.verticalCenter
|
|
|
|
|
left: parent.left
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
FluText{
|
|
|
|
|
text:"hourFormat=FluTimePicker.H"
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
FluTimePicker{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
FluArea{
|
|
|
|
|
width: parent.width
|
|
|
|
|
Layout.topMargin: 20
|
|
|
|
|
height: 80
|
|
|
|
|
paddings: 10
|
|
|
|
|
|
|
|
|
|
ColumnLayout{
|
|
|
|
|
|
|
|
|
|
anchors{
|
|
|
|
|
verticalCenter: parent.verticalCenter
|
|
|
|
|
left: parent.left
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
FluText{
|
|
|
|
|
text:"hourFormat=FluTimePicker.HH"
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
FluTimePicker{
|
|
|
|
|
hourFormat:FluTimePicker.HH
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|