Re: [PyQt] Problem with snapshot and OpenGL

2010-02-03 Thread Phil Thompson
On Tue, 2 Feb 2010 23:30:55 -0700, Brian Brown r...@techgame.net wrote: Ok, a bit more info. Fresh build, with the released code, I get the same error, but when I dump the shared library it has this symbol: __ZN20QGLFramebufferObject15blitFramebufferEPS_RK5QRectS0_S3_mm notice the __mm on

Re: [PyQt] How to use QHash in PyQt?

2010-02-03 Thread Phil Thompson
On Wed, 3 Feb 2010 10:31:44 +0800 (CST), donglongchao donglongc...@163.com wrote: Hi,all I am newbie to PyQt and I have a question when I work on my app with PyQt. I want to use a QDataStream to form a QHash object into a QByteArray and write it into a QTcpSocket.But there is an error when I

Re: [PyQt] How to use QHash in PyQt?

2010-02-03 Thread donglongchao
在2010-02-03 17:41:17,Phil Thompson p...@riverbankcomputing.com 写道: On Wed, 3 Feb 2010 10:31:44 +0800 (CST), donglongchao donglongc...@163.com wrote: Hi,allI am newbie to PyQt and I have a question when I work on my app with PyQt. I want to use a QDataStream to form a QHash object into a

Re: [PyQt] How to use QHash in PyQt?

2010-02-03 Thread Phil Thompson
On Wed, 3 Feb 2010 19:24:28 +0800 (CST), donglongchao donglongc...@163.com wrote: 在2010-02-03 17:41:17,Phil Thompson p...@riverbankcomputing.com 写道: On Wed, 3 Feb 2010 10:31:44 +0800 (CST), donglongchao donglongc...@163.com wrote: Hi,allI am newbie to PyQt and I have a question when I work

[PyQt] Memory Release question

2010-02-03 Thread Darryl Wallace
Hello, Quick question and sorry if it's been discussed before. I'm using Python 2.5, Qt 4.5.3 and PyQt 4.4.4, sip 4.7.9 on Windows 7 all built with VS2008. I'm wondering how memory from destroyed objects are released back to the operating system. If I take the MDI example and start that

Re: [PyQt] Memory Release question

2010-02-03 Thread Ville M. Vainio
On Wed, Feb 3, 2010 at 7:08 PM, Darryl Wallace darryl.wall...@prosensus.ca wrote: If I take the MDI example and start that program, it's using 11,060K of ram.  Creating a new document in the MDI (by clicking the new button on the toolbar brings the ram usage up to 11,376K.  Upon closing the

Re: [PyQt] Problem with snapshot and OpenGL

2010-02-03 Thread Brian Brown
Here you go: Downloads/demangle% c++filt __ZN20QGLFramebufferObject15blitFramebufferEPS_RK5QRectS0_S3_mm QGLFramebufferObject::blitFramebuffer(QGLFramebufferObject*, QRect const, QGLFramebufferObject*, QRect const, unsigned long, unsigned long) Downloads/demangle% c++filt

Re: [PyQt] Memory Release question

2010-02-03 Thread Darryl Wallace
Thanks for the clarification. On Wed, Feb 3, 2010 at 3:10 PM, Ville M. Vainio vivai...@gmail.com wrote: On Wed, Feb 3, 2010 at 7:08 PM, Darryl Wallace darryl.wall...@prosensus.ca wrote: If I take the MDI example and start that program, it's using 11,060K of ram. Creating a new document

[PyQt] Problem with QTreeWidgetItem clone()

2010-02-03 Thread Jamie Riotto
Hi, I have a QTreeWidget which I attempt to copy by: root = treeWidget.topLevelItem(0) clone = root.clone() and I use clone to populate a new QTreeWidget. All the children are there, the problem is that all children have their 'hidden' flags reset. That is, any 'hidden' items in the first tree

Re: [PyQt] Problem with snapshot and OpenGL

2010-02-03 Thread Phil Thompson
On Wed, 3 Feb 2010 14:02:45 -0700, Brian Brown r...@techgame.net wrote: Here you go: Downloads/demangle% c++filt __ZN20QGLFramebufferObject15blitFramebufferEPS_RK5QRectS0_S3_mm QGLFramebufferObject::blitFramebuffer(QGLFramebufferObject*, QRect const, QGLFramebufferObject*,

[PyQt] Compiling PyQt with QAxContainer

2010-02-03 Thread Hazen Babcock
Hello, If I install PyQt (on Windows) using the installer then I can use QAxContainer classes for accessing ActiveX controls. If I try to compile from source using GPL PyQt (4.6.2), Python 2.6, Sip (4.9.3), MinGW (5.1.4) and Qt (2009.05) then the QAxContainer classes do not get compiled and

Re: [PyQt] How to use QHash in PyQt?

2010-02-03 Thread donglongchao
在2010-02-03 20:59:35,Phil Thompson p...@riverbankcomputing.com 写道: On Wed, 3 Feb 2010 19:24:28 +0800 (CST), donglongchao donglongc...@163.com wrote: 在2010-02-03 17:41:17,Phil Thompson p...@riverbankcomputing.com 写道: On Wed, 3 Feb 2010 10:31:44 +0800 (CST), donglongchao donglongc...@163.com

[PyQt] Sudoku Grid - Recommended Approaches

2010-02-03 Thread Kareem Yusuf
I'm looking for some advice on the best way to implement a sudoku grid using PyQt. I am new to PyQt and Python so my following thoughts are shaped by other language experiences (c# and Java). 1. I am assuming using a TableWidget is a bad idea, my experience has shown you can never get the

Re: [PyQt] Sudoku Grid - Recommended Approaches

2010-02-03 Thread Wolfgang Rohdewald
On Thursday 04 February 2010, Kareem Yusuf wrote: I'm looking for some advice on the best way to implement a sudoku grid using PyQt. I am new to PyQt and Python so my following thoughts are shaped by other language experiences (c# and Java). did you consider a QGraphicsScene and