Re: [PyQt] Setting the window icon of a QDialog or QWidget using setWindowIcon() method

2010-12-13 Thread Hans-Peter Jansen
On Monday 13 December 2010, 19:06:49 Guruprasad wrote: > Hi all, > I am a PyQt4 beginner just in the process of learning. Welcome to the club. > I came across > this method setWindowIcon() that is used to set the icon of a > window/dialog/widget. But calling that method before calling the > show

[PyQt] Setting the window icon of a QDialog or QWidget using setWindowIcon() method

2010-12-13 Thread Guruprasad
Hi all, I am a PyQt4 beginner just in the process of learning. I came across this method setWindowIcon() that is used to set the icon of a window/dialog/widget. But calling that method before calling the show() method doesn't set the icon, but calling it after a call to the show() method, sets it p