This commit is contained in:
朱子楚\zhuzi
2024-03-15 12:19:38 +08:00
parent 2dbbaa50f7
commit 9d5765eafe
6 changed files with 40 additions and 20 deletions

View File

@ -10,6 +10,8 @@ Rectangle {
property color hoverColor: FluTheme.dark ? Qt.rgba(68/255,68/255,68/255,1) : Qt.rgba(251/255,251/255,251/255,1)
property color normalColor: FluTheme.dark ? Qt.rgba(61/255,61/255,61/255,1) : Qt.rgba(254/255,254/255,254/255,1)
property string text: qsTr("Pick a date")
property date from: new Date(1924, 0, 1)
property date to: new Date(2124, 11, 31)
property var current
signal accepted()
id:control
@ -34,8 +36,8 @@ Rectangle {
}
CalendarModel {
id:calender_model
from: new Date(1924, 0, 1)
to: new Date(2124, 11, 31)
from: control.from
to: control.to
}
Item{
id:d

View File

@ -9,6 +9,8 @@ Rectangle {
property color hoverColor: FluTheme.dark ? Qt.rgba(68/255,68/255,68/255,1) : Qt.rgba(251/255,251/255,251/255,1)
property color normalColor: FluTheme.dark ? Qt.rgba(61/255,61/255,61/255,1) : Qt.rgba(254/255,254/255,254/255,1)
property string text: qsTr("Pick a date")
property date from: new Date(1924, 0, 1)
property date to: new Date(2124, 11, 31)
property var current
signal accepted()
id:control
@ -33,8 +35,8 @@ Rectangle {
}
CalendarModel {
id:calender_model
from: new Date(1924, 0, 1)
to: new Date(2124, 11, 31)
from: control.from
to: control.to
}
Item{
id:d