This forum has been archived. All content is frozen. Please use KDE Discuss instead.

How to create my own kde theme?

Tags: None
(comma "," separated)
User avatar
Andrej Soroj
Registered Member
Posts
3
Karma
0
OS

How to create my own kde theme?

Fri Oct 19, 2012 11:36 am
Hi all!

I'm interested in how to create my own kde theme. I've seen some links for this article Creating a Plasma Theme Quickstart, but I want to change behaviour for some components (e.g. I want to position tab elements on center). As I understand it require to write some code but, I can't find information how to do it. I've seen code of QtCurve and Bespeen, and I want to write my own theme like that or modify one of them. But I need documentation. Anybody knows, where I can find documentation to do that?

And second question, is it possible to use python through PyQt rather than use C++?


P.S. sorry for my English ...
User avatar
Giacomo
Registered Member
Posts
142
Karma
1
OS

Re: How to create my own kde theme?

Mon Oct 22, 2012 6:01 pm
Andrej Soroj wrote:Hi all!

I'm interested in how to create my own kde theme.

I've seen some links for this article Creating a Plasma Theme Quickstart, but I want to change behaviour for some components (e.g. I want to position tab elements on center).

Hi!
Do you want to create a Plasma theme or a widget style theme? The first one is "just" a set of SVG files, the second one a software plugin.

As I understand it require to write some code but, I can't find information how to do it. I've seen code of QtCurve and Bespeen, and I want to write my own theme like that or modify one of them. But I need documentation. Anybody knows, where I can find documentation to do that?

To create a widget style you can read
- http://qt-project.org/doc/qt-4.8/qstyle.html (and subpages)
- http://api.kde.org/4.x-api/kdelibs-apid ... Style.html
- and the code of existing styles as you did :)

And second question, is it possible to use python through PyQt rather than use C++?

I don't know, I have never seen a widget style not in C++. Maybe is better a compiled language for that (from a performance point of view).


P.S. sorry for my English ...

Sorry for mine too ;D


UserBase, il wiki degli utenti KDE
User avatar
Andrej Soroj
Registered Member
Posts
3
Karma
0
OS

Re: How to create my own kde theme?

Tue Oct 23, 2012 9:45 pm
As I understand I want to build a widget style.

I've read some articles about widget style. Hm. it's not so easy as I thought. =(

I wonder where I can find widget style except for QtCurve, Bespin and standart widget styles from Qt?
User avatar
Giacomo
Registered Member
Posts
142
Karma
1
OS

Re: How to create my own kde theme?

Wed Oct 24, 2012 9:04 am
Andrej Soroj wrote:As I understand I want to build a widget style.

I've read some articles about widget style. Hm. it's not so easy as I thought. =(

Yes, sadly yes, it's difficult, but you have a complete control over the style, so you can do almost everything you want :)

I wonder where I can find widget style except for QtCurve, Bespin and standart widget styles from Qt?

On kde-look.org?
http://kde-look.org/index.php?xcontentmode=9
But you have to select the items, there are a lot of configuration files for QtCurve mixed with "real" style engines, for example:
- Skulpture: http://kde-look.org/content/show.php/Sk ... tent=59031
- QuantumStyle: http://kde-look.org/content/show.php/Qu ... ent=101088
- Polyester (2.0): http://kde-look.org/content/show.php/Po ... tent=27968


UserBase, il wiki degli utenti KDE
User avatar
Andrej Soroj
Registered Member
Posts
3
Karma
0
OS

Re: How to create my own kde theme?

Thu Oct 25, 2012 8:27 pm
Giacomo wrote:On kde-look.org?
http://kde-look.org/index.php?xcontentmode=9
But you have to select the items, there are a lot of configuration files for QtCurve mixed with "real" style engines, for example:
- Skulpture: http://kde-look.org/content/show.php/Sk ... tent=59031
- QuantumStyle: http://kde-look.org/content/show.php/Qu ... ent=101088
- Polyester (2.0): http://kde-look.org/content/show.php/Po ... tent=27968


QuantumStyle seems interesting, I will try it. As for Skulpture it looks roughly. Polyester haven't updated since 2009.

Thanks for the suggestion items =)


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], kde-naveen, Sogou [Bot]