PDA

View Full Version : Skin for your Qt4 apps



Miem
11th October 2007, 14:35
Hello,

Is there any tutorial on the net showing how to make an Qt4 application that can change its skin ?

Thanks,

Miem Chan

wysota
11th October 2007, 16:49
Take a look here:
http://doc.trolltech.com/latest/stylesheets.html
http://doc.trolltech.com/latest/qstyle.html
http://doc.trolltech.com/latest/widgets-styles.html

oooyooo
13th October 2007, 07:44
Could the widget customerized to be an irregular sharp ?

kernel_panic
13th October 2007, 09:12
http://www.qt-apps.org/content/show.php/QSkinWindows?content=67309&PHPSESSID=ff4fd7db61ceef95213c533c8b77bf11

wysota
13th October 2007, 09:38
Could the widget customerized to be an irregular sharp ?

Yes, you need to use QWidget::setMask to decide which pixels are to visible or not.

oooyooo
13th October 2007, 17:54
thank you ~