PDA

View Full Version : How to customize the icon?



snowdream
12th November 2009, 01:53
I use "The Graphics View Framework" to show eight custom dialogs,But i do not know how to change the icon("Qt") to a custom icon.
Anybody encountered this problem before?please help me with it ,thank you!

spirit
12th November 2009, 06:29
for a window use QWidget::setWindowIcon.
for an application use QApplication::setWindowIcon and also read this (http://doc.trolltech.com/4.5/appicon.html).

snowdream
12th November 2009, 06:59
thanks.
i will have a try.