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!
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!
for a window use QWidget::setWindowIcon.
for an application use QApplication::setWindowIcon and also read this.
Qt Assistant -- rocks!
please, use tags [CODE] & [/CODE].
thanks.
i will have a try.
Bookmarks