APR
22
2001

Advanced Theming Tutorial: Programming in *Style

Last week, we posted a story on a theme tutorial sponsored by IBM developerWorks. The tutorial was targeted at non-programmers who wish to theme window decorations, icons, sounds, colors, etc. However, at the widget level, KDE/Qt also offers a more powerful type of "theming" referred to as widget styles, which must be programmed. Rik Hemsley recently authored a tutorial for programming KDE styles (download the tutorial and sample code here). The tutorial also points to the ability to create theme-based styles; these basically allow you to modify a coded style using pixmaps. More information on theme-based coded styles is available here from mosfet.org.

Comments

Please, give us a theme-editor! Its SOOO much work to create a theme, and it becomes even more when you need to search for all the specifications of the themes for yourself.

I REALLY don't know about all that stuff, but would it be so hard to have a tree view with all necessary icons on the left, and for each one, an embedded krayon-part on the right? Something like that would make it so much easier!

Also, many other windowmanagers have nice themes. But I think the one who has the most is Windows. Well, not exactly windows, but Windowblinds, which is for windows. Its an add-on software, making windows completely themeable. It's really great and there are a lot of free (?!) themes available for download. Check it out on www.windowblinds.net. It uses .wba files for themes. Could someone extend the KDE1 Theme importer to use these .wba files?

Just some ideas, hope they inspire someone ;)


By me at Mon, 2001/04/23 - 5:00am

Yeah! Mosfet, where are you man? ;)


By KDE User at Mon, 2001/04/23 - 5:00am

I'm right here ;-) After spending about a year playing around with widget styles, KWin styles, and theme engines prior to the release of KDE2.0, I got rather bored doing theme oriented stuff. Lately I've been playing around with Pixie, and am toying around with a few new apps.

The problem has been it's been difficult to get new developers to take over the theme stuff. Luckily, there has been renewed interest and coding by people like Gallium, who has been doing some neat stuff like importing iceWM themes and some new KWin stuff.

You can expect some new widget styles from me, but that's about it as far as themes go. Now I want to hack apps :)


By Mosfet at Mon, 2001/04/23 - 5:00am

What happened to the Widget Designer? I saw a screenshot of it, on your site once.
Is that one of the apps you are hacking? (I hope so ;-)


By reihal at Mon, 2001/04/23 - 5:00am

That's too bad. Well, not for you, but for the look and style of KDE. The KDE project needs a Mosfet, someone who knows how to create eye-candy, not only for the icons (which Torsten does well) but to the desktop as a whole.

Actually, since you stopped working on this, GNOME has caught up quite a bit when it comes to style and elegance. If the KDE project is going to keep improving its looks, it needs a new Mosfet. Who? I don't know.


By matt at Tue, 2001/04/24 - 5:00am

I was thinking about WindowBlinds the other day, so I went over and downloaded one of their themes. It had a prominent disclaimer to the effect that you can't use the theme with anything but WindowBlinds. It's probably a standard-issue disclaimer that is in all the WindowBlinds themes. So even if someone could make a WindowBlinds theme importer, it wouldn't be legal to use it. While this probably wouldn't stop anyone from using it, it would prevent KDE from including it in the official KDE packages. Those pesky lawyers always ruin our fun :-(


By not me at Tue, 2001/04/24 - 5:00am

There are thousands of Windows 98 themes, and hundreds of them are quite nice and free, why can't KDE have an Windows-Theme-Importer for KDE.

By the way, KDE Themes simply lacks Fonts, Mouse Pointer/Cursor, and ScreenSavers!

Can I expect it in KDE 3.0?


By Asif Ali Rizwaan at Tue, 2001/04/24 - 5:00am

Import me some themes


By Michael Howard at Wed, 2002/01/30 - 6:00am

yes, start working.


By mark at Sat, 2003/05/24 - 5:00am

where can i get them?


By Frank at Mon, 2003/09/01 - 5:00am

I WANT THEM, AND I WANT THEM NOW!


By MWiley at Fri, 2003/10/17 - 5:00am

KDE is an open source application.

You can write anything for it if you want. But people who are already writing it, are focussing on more important things, like new user interface things, instead of copying Windows 98 looks.

KDE 3.0 and up support icon and mouse pointers, altough the mouse pointers need XFree86 4.3 or up, Red Hat Linux 9 is a good example of a distribution that ships it.

Anyways, you could always write a new KDE theme (code theme, not graphics), and make an option to import Windows 98 themes. Why not?

Get to work and write one. That is how open source works. And don't blame other people that spend their spare free time for important things that they don't write tools to copy another ui.


By Sijmen Mulder at Thu, 2003/11/06 - 6:00am

I have windows 98 and Finding free themes is not as easy as you think


By vallentyne at Sun, 2007/07/01 - 5:00am

> Can I expect it in KDE 3.0?

No, in KDE 2.2. Read the changelog again.


By matt at Tue, 2001/04/24 - 5:00am