property alias minute: timePicker.minute
property Item timePicker: timePicker
+ //: Can have two values: "LTR" if remaining time in timer item should be written in "[value] [unit]" order i.e. "2 min", or "RTL" i.e. right-to-left like in Arabic writing systems
property bool leftToRight: qsTr("LTR") !== "RTL"
canAccept: true
+ // The effective value will be restricted by ApplicationWindow.allowedOrientations
+ allowedOrientations: Orientation.All
+
SilicaFlickable {
anchors.fill: parent
contentHeight: column.height
width: parent.width
TimePicker {
id: timePicker
- x: isPortrait ? (column.width-width)/2 : Theme.horizontalPageMargin
+ anchors.horizontalCenter: parent.horizontalCenter
// otherwise in 12h mode this caused timer 00:00 to display as 12:00am
hourMode: DateTime.TwentyFourHours
id: timerLabelColumn
anchors.centerIn: parent
- //: Can have two values: "LTR" if remaining time in timer item should be written in "[value] [unit]" order i.e. "2 min", or "RTL" i.e. right-to-left like in Arabic writing systems
spacing: -Theme.paddingMedium
Row {
spacing: Theme.paddingSmall