[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

[PyQt] Want to change multiple cells in QTableView at once in custom Model/View

2009-10-03 Thread bvz
I had a version of my spreadsheet style app (in which I handled all of the updating of the table manually) that allowed me to set the value of multiple cells at once. (if the user selected multiple cells and entered, say, bob then all the selected cells would be updated to contain bob.) I

[PyQt] Re: Build problems on win32

2009-10-03 Thread Antonio Valentino
Sorry for multiple posting. I don't receive message from the mailing list any more. On Fri Oct 2 20:04:49 BST 2009, Antonio Valentino wrote: I'm trying to build PyQt4.6 on win32 using Qt4.5.3 (SDK 2009.04) and MSVC 2008. [...] I can't figure out where C:\work3\qt.git came from. It

[PyQt] Those bl**dy signals again

2009-10-03 Thread Thomas Olsen
Hi again Caught in the trap again. I have a Plasma.LineEdit [1] that I want to connect to a slot. Tried all of the calls below but nothing works. self.amount = Plasma.LineEdit() self.amount_validator = KFloatValidator(self.amount.nativeWidget())

[PyQt] Re: Those bl**dy signals again

2009-10-03 Thread Wolfgang Rohdewald
On Saturday 03 October 2009, Thomas Olsen wrote: def amount_editing_finished() that should return a syntax error, missing : should that not be def amount_editing_finished(self): -- Wolfgang ___ PyQt mailing list

Re: [PyQt] Re: Those bl**dy signals again

2009-10-03 Thread Thomas Olsen
On 3/10-2009 12:51 Wolfgang Rohdewald wolfg...@rohdewald.de wrote: On Saturday 03 October 2009, Thomas Olsen wrote: def amount_editing_finished() that should return a syntax error, missing : should that not be def amount_editing_finished(self): You are absolutely right and

[PyQt] Re: [Eric] Linguist question

2009-10-03 Thread Michele Petrazzo - Unipex
(since I think that it's a pyqt question/problem I cc to pyqt ml) Detlev Offenbach wrote: Hi, Hi, I think that I'm finally going crazy with the qt linguistic... I just update pyqt to 4.5.4 and qt 4.5.2 (the last on debian unstable repo) for see if was the file version the problem but it's the

Re: [PyQt] Re: [Eric] Linguist question

2009-10-03 Thread Detlev Offenbach
Hi, first I should clarify, that lupdate-qt4 does not deal with Python sources. That's the job of pylupdate4. The later will extract the translatable strings from Python sources (*.py) and form files (*.ui). If called from eric4 (through the context menu of the translations tab of the project

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 return the

[PyQt] Looking for QtGui.QMacCocoaViewContainer in PyQt 4.6.0

2009-10-03 Thread Sjoerd Op 't Land
Hello all, I'm trying to use GStreamer in combination with Qt on Mac. I would like to use GStreamer directly on all platforms, because I need advanced GStreamer functionality (which is not supplied by Phonon). My first goal is to display video in a Qt window. Although I do not understand

Re: [PyQt] Want to change multiple cells in QTableView at once in custom Model/View

2009-10-03 Thread Hans-Peter Jansen
Am Samstag 03 Oktober 2009 schrieb bvz: I had a version of my spreadsheet style app (in which I handled all of the updating of the table manually) that allowed me to set the value of multiple cells at once. (if the user selected multiple cells and entered, say, bob then all the selected