10 onClicked: sleepTimerArea.close()
13 color: themeController.background
20 anchors.horizontalCenter: parent.horizontalCenter
21 font.pixelSize: config.font_size * 1.5
22 color: themeController.foreground
27 height: config.font_size * 3
28 y: config.font_size * 3.5
29 anchors.horizontalCenter: parent.horizontalCenter
30 color: themeController.progress_bg_color
34 onClicked: { value.text = Math.round(Math.pow((1 + (mouseX / parent.width)), 10))
35 progress.width = mouseX
40 width: (Math.pow(5, 0.1) - 1) * parent.width
41 color: themeController.progress_color
52 anchors.centerIn: valuebar
53 font.pixelSize: config.font_size * 1.5
54 color: themeController.foreground
57 anchors.horizontalCenter: parent.horizontalCenter
58 y: config.font_size * 7.5
60 onClicked: { sleepTimerArea.close()
61 main.start_timed_shutdown(value.text)