6import QtQuick.Controls as QQC2
7import org.kde.kirigami as Kirigami
8import org.kde.kirigamiaddons.components as Components
16 property date value: new Date()
23 property date _value: new Date()
27 contentItem: TimePicker {
29 implicitWidth: applicationWindow().width
30 minutes: root.value.getMinutes()
31 hours: root.value.getHours()
33 root._value.setHours(hours, minutes);
36 root._value.setHours(hours, minutes);
40 background: Components.DialogRoundedBackground {}
42 footer: QQC2.DialogButtonBox {
46 text:
i18ndc(
"kirigami-addons6",
"@action:button",
"Cancel")
47 icon.name: "dialog-cancel"
53 QQC2.DialogButtonBox.buttonRole: QQC2.DialogButtonBox.RejectRole
57 text:
i18ndc(
"kirigami-addons6",
"@action:button",
"Select")
58 icon.name: "dialog-ok-apply"
60 root.value = root._value;
65 QQC2.DialogButtonBox.buttonRole: QQC2.DialogButtonBox.AcceptRole
70 QQC2.Overlay.modal: Rectangle {
71 color:
Qt.rgba(0, 0, 0, 0.3)
76 duration:
Kirigami.Units.longDuration
77 easing.type: Easing.InOutQuad
QString i18ndc(const char *domain, const char *context, const char *text, const TYPE &arg...)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:03:50 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.