You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

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)


toad

Trainee

Posts: 66

Location: capital of beer

  • Send private message

2

Monday, January 14th 2008, 6:12pm

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

Source code

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

3

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: http://api.kde.org/4.0-api/kdelibs-apido…_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)