PDA

View Full Version : how can I Define whole control styles ?



hcetiner
10th April 2010, 15:12
I wantto add my own custom theme (QT ppl calling it style? )for all controls and subcontrols something like this
http://img9.imageshack.us/img9/6259/snap1zl.jpg
but png files should not be referred from an external directory.All should be in exe or an extra dll resource.

how can I define it?
where should I start from ?

thanks much.

ecanela
10th April 2010, 19:02
try to use stylesheets to the custom widget

http://doc.trolltech.com/4.3/stylesheet-examples.html#customizing-qscrollbar

nish
12th April 2010, 10:49
and take a look at qt resource system.