Re: [PyQt] WebKit and Twitter

2010-08-14 Thread Yao Ko
Ah, that's a bit tricky to troubleshoot... Do you notice any patterns regarding which images fail to load? Are they .jpg? Yao On Sat, Aug 14, 2010 at 3:17 AM, Mico Siahaan wrote: > Hi, > > thanks. Now I can login. But I notice some images were failed to load. > Any settings that I need to chan

Re: [PyQt] QValidator.validate() returns TypeError: invalid result type

2010-08-14 Thread Eric Frederich
Whoops, didn't realize I took this conversation off the mailing list. So, does this mean it is not possible then to have a validator in Python2 fix the string? On Sat, Aug 14, 2010 at 7:12 AM, Phil Thompson wrote: > On Fri, 6 Aug 2010 14:57:45 -0400, Eric Frederich > wrote: > > The help only li

Re: [PyQt] PyQt4 does not recognize the *shape* of QGraphicsItems for collision detection

2010-08-14 Thread Philippe Crave
not sure, but maybe you should set this flag: ItemClipsToShape http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/qgraphicsitem.html#GraphicsItemFlag-enum 2010/8/14 Konrad Koller > > In many games collision detection is important. In my case the game's stones > are mostly convex polygo

[PyQt] PyQt4 does not recognize the *shape* of QGraphicsItems for collision detection

2010-08-14 Thread Konrad Koller
In many games collision detection is important. In my case the game's stones are mostly convex polygons. Therefore their bounding rectangle is not adequate for collision detection and therefore I create them in the constructor of the class Stone(QGraphicsItem) as QPainterPaths like so: self.path=Q

Re: [PyQt] dip model types, properties, and syntax

2010-08-14 Thread Darren Dale
On Sat, Aug 14, 2010 at 8:25 AM, Darren Dale wrote: > On Sat, Aug 14, 2010 at 3:45 AM, Phil Thompson > wrote: >> On Mon, 9 Aug 2010 09:45:12 -0400, Darren Dale wrote: >>> I have a question about using dip model attributes as properties. The >>> documentation at >>> >> http://www.riverbankcomputi

Re: [PyQt] dip model types, properties, and syntax

2010-08-14 Thread Darren Dale
On Sat, Aug 14, 2010 at 3:45 AM, Phil Thompson wrote: > On Mon, 9 Aug 2010 09:45:12 -0400, Darren Dale wrote: >> I have a question about using dip model attributes as properties. The >> documentation at >> > http://www.riverbankcomputing.com/static/Docs/dip/model_tutorial.html#attributes-are-prop

Re: [PyQt] enums and hand written code

2010-08-14 Thread Phil Thompson
On Fri, 6 Aug 2010 11:31:18 -0600, Clinton Stimpson wrote: > Hi, > > I've got some hand written code using the SIP API to integrate PyQt with > other > C++ classes wrapped with another tool. > > I've got things generally working, but I'm not quite sure how to handle > enums, > such as Qt::Auto

Re: [PyQt] Signal Slot Newbie Question

2010-08-14 Thread Phil Thompson
On Sat, 14 Aug 2010 17:41:02 +0700, Mico Siahaan wrote: > Dear all, > > I typed this code: http://pastebin.com/yD54L27r, but I failed to > connect trigerred() signal with close method of QMainWindow so when I > klik Menu 'Keluar', my application did not want to close. Please > suggest what was wr

[PyQt] Signal Slot Newbie Question

2010-08-14 Thread Mico Siahaan
Dear all, I typed this code: http://pastebin.com/yD54L27r, but I failed to connect trigerred() signal with close method of QMainWindow so when I klik Menu 'Keluar', my application did not want to close. Please suggest what was wrong with my code. regards, -- Mico | mico.siah...@gmail.com | @ban

Re: [PyQt] WebKit and Twitter

2010-08-14 Thread Mico Siahaan
Hi, thanks. Now I can login. But I notice some images were failed to load. Any settings that I need to change so all images can be loaded? regards, On Sat, Aug 14, 2010 at 5:31 AM, Yao Ko wrote: > Yes, you'd need to have those two OpenSSL dlls (ssleay32.dll, > libeay32.dll) available in your pa

Re: [PyQt] dip model types, properties, and syntax

2010-08-14 Thread Phil Thompson
On Mon, 9 Aug 2010 09:45:12 -0400, Darren Dale wrote: > I have a question about using dip model attributes as properties. The > documentation at > http://www.riverbankcomputing.com/static/Docs/dip/model_tutorial.html#attributes-are-properties > gives an example: > > class ExampleModel(Model): >

Re: [PyQt] ImportError: DLL load failed: The specified procedure could not be found.

2010-08-14 Thread Scott Ballard
This truly is a problem that I've seen on several random machines. I can't seem to make head or tails with it but I know others have encountered it too. I've also seen things work just fine and then one day fail, only to have to copy the DLLs into the Python26\Lib\site-packages\PyQt4 directory

Re: [PyQt] ImportError: DLL load failed: The specified procedure could not be found.

2010-08-14 Thread Phil Thompson
On Fri, 13 Aug 2010 22:46:13 +0300, "Ville M. Vainio" wrote: > Lately at Leo project ( http://www.youtube.com/watch?v=Zu6J-J0qFi0 ), > we have many people complaining about pyqt ImportError in Windows. > It's solved by copying around the dll's or doing this: > > http://stackoverflow.com/questions