This commit is contained in:
朱子楚\zhuzi
2023-08-24 21:43:16 +08:00
parent a1199a9e9c
commit ba565e1ee8
18 changed files with 218 additions and 40 deletions

View File

@ -36,6 +36,10 @@ FluScrollablePage{
left: parent.left
}
FluCalendarPicker{
current:Date.fromLocaleString("2013年7月11日 21:17:42")
onAccepted:{
showSuccess(current.toLocaleString())
}
}
}
}

View File

@ -23,7 +23,8 @@ FluScrollablePage{
text:"showYear=true"
}
FluDatePicker{
onCurrentChanged: {
current: new Date()
onAccepted: {
showSuccess(current.toLocaleDateString())
}
}
@ -50,10 +51,9 @@ FluScrollablePage{
FluText{
text:"showYear=false"
}
FluDatePicker{
showYear:false
onCurrentChanged: {
onAccepted: {
showSuccess(current.toLocaleDateString())
}
}

View File

@ -27,6 +27,7 @@ FluScrollablePage{
id: bg
fillMode:Image.PreserveAspectCrop
anchors.fill: parent
asynchronous: true
verticalAlignment: Qt.AlignTop
source: "qrc:/example/res/image/bg_home_header.png"
}

View File

@ -27,7 +27,8 @@ FluScrollablePage{
}
FluTimePicker{
onCurrentChanged: {
current: new Date()
onAccepted: {
showSuccess(current.toLocaleTimeString(Qt.locale("de_DE")))
}
}
@ -61,7 +62,7 @@ FluScrollablePage{
FluTimePicker{
hourFormat:FluTimePickerType.HH
onCurrentChanged: {
onAccepted: {
showSuccess(current.toLocaleTimeString(Qt.locale("de_DE")))
}
}