Re: [PyQt] PyQt configure error: Failed to determine the layout of your Qt installtion

2008-01-29 Thread Phil Thompson
On Tuesday 29 January 2008, John Wheez wrote: Hi all, I've compile PyQt on os X 10.4.9 but now I'm trying to do it on a os X 10.5.1 system and am having some difficulties. I installed the latest QT DMG file. The demos work. I compiled SIP successfully. PyQT give me the following

Re: [PyQt] konsoleFactory::className()

2008-01-29 Thread D.H.J. Takken
Hi, Can anyone please have a look at the modified configure.py that was attached to the previous mail in this thread? Thanks! On Monday 21 January 2008 08:21:42 D.H.J. Takken wrote: Ok, I have been trying to get PyKDE to work again, adapting configure.py accorting to your directions.

Re: [PyQt] processEvents on QlistWidget operations does nothing

2008-01-29 Thread P. Mathé
Le lundi 28 janvier 2008, Andreas Pakulat a écrit : On 28.01.08 12:40:36, Scott Aron Bloom wrote: Le lundi 28 janvier 2008, Scott Aron Bloom a écrit : BTW... your issue is NOT a bug in QT... it's a bug in your understanding of how the model/view system works and refreshes the gui..

[PyQt] DataTable layout problem

2008-01-29 Thread Mario Daniel Carugno
Hi there, mi name is Mario and i'm starting with pyqt3. Until now everything was quite easy en clear, but i'm with a problem i can't solve. I use designer to draw an interface with a DataTable. I make the connection and works fine in the designer's preview. I can see table's data. But when i run

Re: [PyQt] Subclassing QObject and overloading __setattr__

2008-01-29 Thread Phil Thompson
On Saturday 26 January 2008, Julien Richard-Foy wrote: Here is the content of Test.py : class PyQtObject: def __init__(self): pass def __setattr__(self, name, value): self.__dict__[name] = value print self.__dict__ class MyPyQtObject (PyQtObject): def __init__(self):

Re: [PyQt] pyqt and kbarcode

2008-01-29 Thread Hans-Peter Jansen
Am Dienstag, 29. Januar 2008 schrieb Joachim Schmitz: hi, KBarcode http://www.kbarcode.net is an barcode and labelprinting software for kde3 written with Qt3. Does anybody know how difficult it is to extend this with PyQt3/PyKDE3 ? It all starts with creating matching sip interface

[PyQt] pyqt and kbarcode

2008-01-29 Thread Joachim Schmitz
hi, KBarcode http://www.kbarcode.net is an barcode and labelprinting software for kde3 written with Qt3. Does anybody know how difficult it is to extend this with PyQt3/PyKDE3 ? Is it even possible ? Any hints are welcome. -- Regards, Joachim

Re: [PyQt] DataTable layout problem

2008-01-29 Thread Hans-Peter Jansen
Am Dienstag, 29. Januar 2008 schrieb Mario Daniel Carugno: Hi there, mi name is Mario and i'm starting with pyqt3. Until now everything was quite easy en clear, but i'm with a problem i can't solve. I use designer to draw an interface with a DataTable. I make the connection and works fine in

Re: [PyQt] Help with QTableView

2008-01-29 Thread Catriona Johnson
Thanks Brian I tried that and the checkboxes are showing the right value but I am unable to edit the checkbox only the datarole. What am I doing wrong?? Code sample below. from PyQt4.QtGui import * from PyQt4.QtSql import * from PyQt4.QtCore import * import sys class

Re: [PyQt] Help with QTableView

2008-01-29 Thread Catriona Johnson
Thanks for that and sorry for taking a while to get this but I tried what you said and I still can't edit the checkboxes. I can howerver edit the space to the right of the checkboxes which I don't want to do. Updated setData method below: def setData(self, index, value, role): if

Re: [PyQt] Help with QTableView

2008-01-29 Thread Brian Kelley
For both the data and setdata method, checkboxes are only retrieved or set for the CheckStateRole. Simply add an: if role == Qt.CheckStateRole: ... to your setData method and you should be off to the races. On Jan 29, 2008, at 5:22 PM, Catriona Johnson wrote: Thanks Brian I tried