[PyQt] maximize QTabWidget

2007-07-05 Thread Reinaldo Carvalho
Hi, I use Qt3-designer to do a aplication, and i have a Qdialog with a QTabWidget. How maximize QTabWidget when window is maximized? Maybe using spacer? -- Reinaldo Carvalho ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcompu

Re: [PyQt] headache with SIP

2007-07-05 Thread Adam Tenderholt
I got all those errors when I tried building from inside msys, although it doesn't look like you are doing that. I was able to fix it by editing the siplib/Makefile and changing all the references to C:\python25\lib to C:\\python25\\lib in CPPFLAGS and LIBS. I also tried the original Makefile from

[PyQt] itemview drag and drop problems

2007-07-05 Thread Adam Tenderholt
I've been playing around with the PyQt4.3a1 windows binary package and have run into some problems. ItemViews appear to ignore the ItemIsDropEnabled flag for top level items. Attached is a modified simpletreemodel script that enables drags and drops for all items. Any item can be dragged, but drop

[PyQt] headache with SIP

2007-07-05 Thread kib2
Hi, I'm trying to build SIP one more time under Windows XP SP2 and MinGW but without success. 1. I have unpacked the source to my personnal directory "C:\KIB\" 2. I folowed the docs : configuring for mingw C:\KIB\sip-snapshot-20070704>python configure.py -p win32-g++ This is SIP snapshot-200

[PyQt] Qt has caught an exception thrown from an event handler

2007-07-05 Thread Tuvi, Selim
Hi, I am working on an app that is crashing with the following error: Qt has caught an exception thrown from an event handler. Throwing exceptions from an event handler is not supported in Qt. You must reimplement QApplication::notify() and catch all exceptions there. The crash occurs intermitte

RE: [PyQt] SIP Question (Not PyQT/PyKDE related)

2007-07-05 Thread Doyon, Jean-Francois
Phil, Thanks a bunch, just go the snapshot, and things now work as expected. One thing though re: reference passing: I wanted Python to get the reference so that everything gest cleaned up properly, so I added a /TransferBack/ (Actually /Out,TransferBack/) to the method signature, only now glibc