Well.. seems still does not work. Today i have time to test this and i have:<br><br><blockquote>Traceback (most recent call last):<br> File "OpenCoffee.py", line 59, in <module><br> mainApp = OpenCoffee()<br>
File "MainApp.py", line 84, in __init__<br> self.setupUi(self)<br> File "/home/gustavo/Documentos/Desarrollo/OpenCoffee/trunk/opencoffee-server/gui/ui_main.py", line 19, in setupUi<br> icon.addPixmap(QtGui.QPixmap(":/Icons/icons/windowIcon.svg",QtGui.QIcon.Normal,QtGui.QIcon.Off))<br>
TypeError: argument 2 of QPixmap() has an invalid type<br><p></p><p></p><p></p></blockquote><p></p><p>ui_main.py is the exported .ui.<br></p><p></p><p><br>Cheers.<br><br></p><div><span class="gmail_quote">2008/5/19, Phil Thompson <<a href="mailto:phil@riverbankcomputing.com">phil@riverbankcomputing.com</a>>:</span><blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex">
On Monday 19 May 2008 14:56:52 Gustavo A. Díaz wrote:<br> > Nice, now it works...<br> ><br> > I saw that now does not use anymore setIcon(QtGui.QIcon...), instead it<br> > uses addPixmap(QtGui.QPixmap....). Is that normal? Maybe is stupid<br>
> question... but is how now an icon is being added in this version of Qt?<br> <br> <br>Easy enough to find out by running uic on the same .ui file...<br> <br><br> Phil<br> </blockquote></div><br><br clear="all"><br>-- <br>
Gustavo A. Díaz<br>GDNet Projects<br><a href="http://www.gdnet.com.ar">www.gdnet.com.ar</a>