[PyQt] SystemError with a temporary variable when accessing a non-existing attribute

2008-07-11 Thread Erick Tryzelaar
Good evening, I'm getting an interesting error with sip and pointers. Here's my trimmed down code: #ifndef FOO_H #define FOO_H #include class Foo { public: Foo() {} virtual ~Foo() { qDebug() << "Foo::~Foo"; } }; class Bar: public

Re: [PyQt] Compile issues

2008-07-11 Thread Giovanni Bajo
On Fri, 2008-07-11 at 09:33 -0400, Joel Webb wrote: > > I have the latest PyQt release: > PyQt-x11-gpl-4.4.2.tar.gz > > And I am still receiving that error: > g++ -c -pipe -fPIC -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB > -DQT_CORE_LIB -I. -I/usr/include/python2.5 -I/usr/mkspecs/linux-

Re: [PyQt] QDirModel instance

2008-07-11 Thread Scott Frankel
How does one implement setData() to redraw state changes in a QDirModel instance? I've discovered that Qt's dataChanged() member of QDirModel does not seem to be implemented in PyQt, as per a dir() run over my QDirModel sub-class: [ ... ] customEvent data

[PyQt] How to create a "Hide list"-Button in QT Designer?

2008-07-11 Thread Sven Grunewaldt
Hi, For easier explanation I uploaded a screen shot of the UI: http://olle-orks.org/images/dev/katzen/entwurf.jpg As you can see there is a list on the left, containing all the elements that can be viewed in the "Image appears here"-Label. Now I want this list to be optional. Normally there is

[PyQt] Compile issues

2008-07-11 Thread Joel Webb
I get this: [EMAIL PROTECTED]:/tmp> which qmake /usr/bin/qmake ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[PyQt] Compile issues

2008-07-11 Thread Joel Webb
I have the latest PyQt release: PyQt-x11-gpl-4.4.2.tar.gz And I am still receiving that error: g++ -c -pipe -fPIC -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/usr/include/python2.5 -I/usr/mkspecs/linux-g++ -I/usr/include/QtGui -I/usr/include/QtCore -I/usr/include -I/

[PyQt] static const string

2008-07-11 Thread Kim Tuan DOAN
Hello, I'm using VS2005, PyQt 4.4.2 and sip 4.7.6. I got following error messages trying during build of my project: error C2440: '=' : cannot convert from 'const std::string *' to 'std::string *' In my sip file, I declared variables as static const std::string.

Re: [PyQt] Changes in PyKDE

2008-07-11 Thread Stephan Hermann
Good Morning Jim, I think we have all say "Thank you for your work on PyKDE". Without you, at least on the KUbuntu Side Of Life ;), we weren't be able to push python even for KDE RAD development. Since 2005, when I first tried out PyKDE as RAD environment, I showed during one Ubuntu Developer S