Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
KDE:Frameworks5:LTS
sddm
0003-elarun-Update-date-and-time.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0003-elarun-Update-date-and-time.patch of Package sddm
From 28822b9242beecaebb4d1978dc641daccc72bb60 Mon Sep 17 00:00:00 2001 From: Hendrik Lehmbruch <hlehmbruch@gmx.net> Date: Tue, 13 Sep 2016 16:11:35 +0200 Subject: [PATCH 3/5] elarun: Update date and time [ChangeLog][Themes] Update date and time in the "elarun" theme Closes: #665 --- data/themes/elarun/Main.qml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/data/themes/elarun/Main.qml b/data/themes/elarun/Main.qml index 174a3b8..37a97a0 100644 --- a/data/themes/elarun/Main.qml +++ b/data/themes/elarun/Main.qml @@ -200,13 +200,21 @@ Rectangle { } } + Timer { + id: time + interval: 100 + running: true + repeat: true + + onTriggered: { + dateTime.text = Qt.formatDateTime(new Date(), "dddd, dd MMMM yyyy HH:mm AP") + } + } + Text { - id: time_label + id: dateTime anchors.right: parent.right anchors.bottom: parent.bottom - - text: Qt.formatDateTime(new Date(), "dddd, dd MMMM yyyy HH:mm AP") - horizontalAlignment: Text.AlignRight color: "#0b678c" -- 2.10.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor