You are not logged in.


Monday, January 14th 2008, 8:02am

GUI default settings

I have a question, how can i configure default values of objects described in kstyle.h like Margins or TextAlignTop?
Another words how to create my own widget style?

This post has been edited 3 times, last edit by "nopasara" (Jan 14th 2008, 3:19pm)



Posts: 66

Location: capital of beer

  • Send private message


Monday, January 14th 2008, 6:12pm

I don't appear to have a kstyle.h - you mean a *.kth theme file? run

Source code

kcontrol &
from the command line and you can adjust, create and save desktop themes...
running on Debian Etch


Monday, January 14th 2008, 8:22pm

I din`t mean themes, i meant widget style... Like height, width of control objects (buttons, list boxes, etc)

About kstyle.h, i found this link on this site:…_8h-source.html
(Link describes 4th version, but i`m using version 3.5.8 )

I wanted to change values of LayoutProp of some structures.

This post has been edited 3 times, last edit by "nopasara" (Jan 15th 2008, 10:27am)