Re: [PyQt] Mac does not pass back QIcon from data() method in a model/view

2009-10-05 Thread Hans-Peter Jansen
Am Montag 05 Oktober 2009 schrieb bvz: > Aha, that was it. I installed the version on my Mac myself, and the Linux > is installed by the IT dept at my company. I will just have to code > around it. > > By the way, being new to all of this, is there someplace where I could > have gone to figure this

Re: [PyQt] Mac does not pass back QIcon from data() method in a model/view

2009-10-04 Thread bvz
Aha, that was it. I installed the version on my Mac myself, and the Linux is installed by the IT dept at my company. I will just have to code around it. By the way, being new to all of this, is there someplace where I could have gone to figure this out myself? Maybe first I need to understand wh

Re: [PyQt] Mac does not pass back QIcon from data() method in a model/view

2009-10-03 Thread Hans-Peter Jansen
Am Samstag 03 Oktober 2009 schrieb bvz: > I have just noticed this little oddity: > > I have a data() method inside a QAbstractTableModel subclass. This > method is supposed to pass back an icon for a QTableView to display when > the role Qt.DecorationRole is used. > > On the Mac it will only retu

[PyQt] Mac does not pass back QIcon from data() method in a model/view

2009-10-03 Thread bvz
I have just noticed this little oddity: I have a data() method inside a QAbstractTableModel subclass. This method is supposed to pass back an icon for a QTableView to display when the role Qt.DecorationRole is used. On the Mac it will only return the icon if I use: return QtGui.QIcon(paramObj.g