[PyQt] cascadeSubWindows oversized

2011-05-19 Thread Pietro Moras
Dear Sir, In debugging an existing application based on PyQt4 (4.8.3), while “.tileSubWindows” method works ok, with all sub-windows correctly dimensioned to fit into the host window, the “.cascadeSubWindows” generates child windows by far too large for the available room. (?) Any idea

Re: [PyQt] Debugging in windows

2011-05-19 Thread Mailing List SVR
Il giorno dom, 15/05/2011 alle 00.22 -0400, Luke Campagnola ha scritto: Howdy, I have just compiled PyQt 4.8.4 in WinXP using MinGW from the Qt SDK. I configured both sip and PyQt with --debug turned on (but had to modify the makefiles to link against python26 instead of python26_d). My

[PyQt] Subclass of QGraphicsObject does not have the correct class name listed in QGraphicsScene.items()

2011-05-19 Thread Selim Tuvi
The code below outputs: [__main__.Edge object at 0x2aaab0395830, PyQt4.QtGui.QGraphicsItem object at 0x2aaab03958c0] which lists the Node instance as having the class QGraphicsItem when it should say __main__.Node object at Tested on (Qt 4.7.2, PyQt 4.8.3) and (Qt 4.6.1, PyQt 4.7.2)

[PyQt] Reasign event

2011-05-19 Thread Hugo Léveillé
Newbie in using event in pyqt Let say I just want a keyPressEvent to happen with a certain QLineEdit I tried : self.myLineEDit.keyPressEvent = self.myEvent def myEvent(self,event): print Hello world Sure enought its working. Now it only print hello world when I am typing in that line

Re: [PyQt] Reasign event

2011-05-19 Thread Hans-Peter Jansen
On Friday 20 May 2011, 00:12:14 Hugo Léveillé wrote: Newbie in using event in pyqt Let say I just want a keyPressEvent to happen with a certain QLineEdit I tried : self.myLineEDit.keyPressEvent = self.myEvent def myEvent(self,event): print Hello world Sure enought its working. Now

Re: [PyQt] Reasign event

2011-05-19 Thread Hugo Leveille
Ok So for my exemple,what would be the correct syntax thanks alot -- Hugo Leveille Compositing TD Vision Globale hu...@fastmail.net Sent from my iPhone On May 19, 2011, at 7:30 PM, Hans-Peter Jansen h...@urpla.net wrote: On Friday 20 May 2011, 00:12:14 Hugo Léveillé wrote: Newbie in