[PyQt] dialogs and extentions

2008-10-29 Thread Wim Verhavert
Hi all, I am confused concerning extension dialogs. The doc's say you can use the 'setExtention()' and 'showExtention()' methods, but this makes your dialog extent to the right in stead of the bottom. The bundled PyQT examples on the other end set the 'extention' property directly and play with

Re: [PyQt] pyQt and Xml

2008-10-29 Thread celsowm
i am testing the minidom and sax. But, in qt xpath parser, I have not had much luck yet Kermit-12 wrote: hi, i'm new in xml and PyQt, i know a little QT better use xml python package, or pyqt xml dom parser ??? i think is depend on my production which element can determine my

[PyQt] mysql Error creating package using py2exe

2008-10-29 Thread Anil
Hi all, I have a working setup of PyQt4 and Mysql compiled using MingW. I created an exe file using py2exe successfully.When I try to run it on a fresh windows machine the program errors out with. -- Database Error: Driver not loaded I tried to copy qsqlmysql4.dll and qsqlmysqld4.dll to the

[PyQt] Newbie question: tr() or QApplication.translate() ?

2008-10-29 Thread Gustavo A. Díaz
Hi guys, This maybe is a newbie question, but reading the docs I am not sure whats the difference or what is more appropriate to use when translating strings inside my App. So far, i was using QApplication.translate() but its arguments are too long and sometimes I have very big strings which

[PyQt] Re: dialogs and extentions

2008-10-29 Thread Wim Verhavert
I already found out that you can set the orientation with a call to 'setOrientation(Qt.Vertical)'. That solves my problem for now. But while I was searching for a solution I found the following: http://doc.trolltech.com/4.4/qdialog-obsolete.html. There they state that my solution is obsolete and

Re: [PyQt] Re: dialogs and extentions

2008-10-29 Thread Mark Summerfield
On 2008-10-29, Wim Verhavert wrote: I already found out that you can set the orientation with a call to 'setOrientation(Qt.Vertical)'. That solves my problem for now. But while I was searching for a solution I found the following: http://doc.trolltech.com/4.4/qdialog-obsolete.html. There they

[PyQt] eventFilter not executed

2008-10-29 Thread Alessandro Re
I hate double-posting, but i guess here it's a more appropriate place where to ask (http://www.qtcentre.org/forum/f-newbie-4/t-pyqt4-doesnt-execute-eventfilter-16734.html) I'm trying to filter some events, but it seems that eventFilter() isn't executed in the filter object. I did this example and

Re: [PyQt] eventFilter not executed

2008-10-29 Thread Phil Thompson
On Wed, 29 Oct 2008 15:58:16 +, Alessandro Re [EMAIL PROTECTED] wrote: I hate double-posting, but i guess here it's a more appropriate place where to ask (http://www.qtcentre.org/forum/f-newbie-4/t-pyqt4-doesnt-execute-eventfilter-16734.html) I'm trying to filter some events, but it

Re: [PyQt] Re: dialogs and extentions

2008-10-29 Thread Wim Verhavert
Thanks for your reply Mark. I tried the discussed procedure this afternoon, and yes this works, but as you said, this will not allow for user resize, which is a pitty. The older approach did allow for resize, so I consider this a step back. Do you see any reason why they want to remove this from

[PyQt] PyQt 4.4.3 and Stackless Python 2.6 compilation

2008-10-29 Thread Carlos Eduardo
Hi Phil, Some time ago, I had some problems compiling SIP with Stackless Python. That had been fixed manually by me until you patched siplib.c using a pair of ifdefs. Now, I'm recompiling my toolchain using the latest versions and found an incompatibility between PyQt and Stackless. The

Re: [PyQt] PyQt 4.4.3 and Stackless Python 2.6 compilation

2008-10-29 Thread Phil Thompson
On Wed, 29 Oct 2008 18:26:27 + (UTC), Carlos Eduardo [EMAIL PROTECTED] wrote: Hi Phil, Some time ago, I had some problems compiling SIP with Stackless Python. That had been fixed manually by me until you patched siplib.c using a pair of ifdefs. Now, I'm recompiling my toolchain

[PyQt] triggler a event in QTextEdit

2008-10-29 Thread Min Li
Hi, everyone. I'm new in PYQT. Currently, I want to triggler a event for QtextEdit, that is moving a cursor on a word and click the mouse on that word to triggler some event in QTextEdit, like open a new link in a browser. Could you please suggest some idea for this task? Thank you very much Lee