![]() Registered Member ![]()
|
1.) How do you write a KDE style, any tools available for converting png images and and what sort of documentation is there for kde4 styles?
2.) How do you write a kwin4 style? Can I write one that has partial transparency? if yes, how do I do that? example: make a button 25% opaque. 3.) any tutorials on writing custom KDE4 widgets? |
![]() KDE Developer ![]()
|
Step one, learn Qt. KDE styles are nothing more than Qt styles. I've been meaning to write a tutorial on this, but it may be a few months before I can get to it. In the meantime, the Qt documentation has some information on writing styles. KDE provides KStyle, which builds on QStyle. The goal is to make writing styles easier. You do need to know the basics of QStyle first, however, so start there.
I have a tutorial on kwin styles, but it's for KDE3. Most of it is still applicable though. . Transparency is new in KDE4, but it's just a matter of setting the right visual and then drawing with an alpha channel.
Plasma widgets or Qt/KDE widgets? It's unfortunate that they have the same name. For Plasma widgets, see the plasma docs at techbase.kde.org. For Qt widgets there are several good books.
Don't look back! (Or you might see the giants whose shoulders we stand on)
|
![]() Registered Member ![]()
|
I'm still hoping for someone to create something like Stylebuilder for KDE4. That way people without programming experience would still be able to create themes.
lzfy, proud to be a member of KDE forums since 2008-Oct.
|
![]() Registered Member ![]()
|
the first two were answered rather well.
as for widgets, I wish to learn how to do both. |
Registered users: Bing [Bot], Evergrowing, Google [Bot], rblackwell