Skip to content
This repository has been archived by the owner on Dec 17, 2017. It is now read-only.

Skins for desktop clock #540

Closed
GreenLunar opened this issue Jan 25, 2013 · 4 comments
Closed

Skins for desktop clock #540

GreenLunar opened this issue Jan 25, 2013 · 4 comments

Comments

@GreenLunar
Copy link

Make desktop clock easily skin-able like Cairo-Clock.

Edit: My father likes such desktop widgets and adding skinning ability to this clock may be helpful in persuading him to finally use GNU/Linux.

@jleclanche
Copy link
Member

Agreed, the clock should be themable.

My first instinct would be to get those images through QSS. So that you can say eg.

#desktop-plugin-analogclock .hours-hand {
background-image: url(foo/hours.png);
}

However the clock itself isnt themed through qss. This would have to change...

https://github.com/Razor-qt/razor-qt/blob/master/razorqt-desktop/desktop-razor/plugin-analogclock/clock.cpp#L100

@jleclanche
Copy link
Member

QSS is a superset of CSS that can be used by Qt to style QtGui. We use it in our themes.

@kuzmas
Copy link
Contributor

kuzmas commented Feb 6, 2013

Shouldn't be very difficult.

@jleclanche
Copy link
Member

Closing all razor-desktop bugs.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

3 participants