[PyQt] api problem with sip 4.7.9, PyQt 4.4.4 and Python 2.5.2 on Mac OS X 10.5.6

2009-02-16 Thread Romuald Riem
Hello, I've just installed the last stable version of sip (4.7.9) and PyQt (4.4.4) on Mac OS 10.5.6. with the default options. When I try to run a program I've this error: Traceback (most recent call last): File debitSE-test.py, line 8, in module from PyQt4 import QtCore, QtGui

Re: [PyQt] api problem with sip 4.7.9, PyQt 4.4.4 and Python 2.5.2 on Mac OS X 10.5.6

2009-02-16 Thread Phil Thompson
On Mon, 16 Feb 2009 13:53:48 +0100, Romuald Riem rr...@free.fr wrote: Hello, I've just installed the last stable version of sip (4.7.9) and PyQt (4.4.4) on Mac OS 10.5.6. with the default options. When I try to run a program I've this error: Traceback (most recent call last): File

[PyQt] Re: [pygtk] Limit lines of textview help/doc format

2009-02-16 Thread Sandro Dutra
I think you can take a look at QTextDocument. 2009/2/16 Timo timomli...@gmail.com Hi all, 2 questions: I have a small textview that I want to be limited to 4 lines of text. So the user can't type more than 4 lines. Is that possible? Second, I want some sort of help function in my

[PyQt] Possible to stop a QTimer.singleShot()?

2009-02-16 Thread Geert Vancompernolle
Hi, 1. Is it possible to stop a QTimer.singleShot() timer (pls. don't tell me to use the stop() function of a QTimer() object, I really want to know if the static function QTimer.singleShot() can be stopped before its time has elapsed)? 2. What happens if a second QTimer.singleShot() is

[PyQt] redirect stdout to QTextEdit widget

2009-02-16 Thread NARCISO, Rui
Hi all, I would to redirect the standard output to a QTextEdit but I would like it to be dynamic, ie, as soon as something is printed to the stdout the contents of QTextEdit should be updated.. Changing the output of the ocde I'm running directly to the QTextEdit is not an option. I have

Re: [PyQt] api problem with sip 4.7.9, PyQt 4.4.4 and Python 2.5.2 on Mac OS X 10.5.6

2009-02-16 Thread Lauro Moura
On Mon, Feb 16, 2009 at 9:53 AM, Romuald Riem rr...@free.fr wrote: I've noticed the change in the API, but when I try to use sip-4.8-snapshot-20090214, I've this error: cc -c -pipe -fPIC -Os -w -DNDEBUG -I. -I/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -o siplib.o

[PyQt] ContextMenu for a TreeView

2009-02-16 Thread projetmbc
Hello, is it possible to define a ContextMenu for a TreeView ? Christophe. ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] ContextMenu for a TreeView

2009-02-16 Thread Doug Bell
projet...@club-internet.fr wrote: Hello, is it possible to define a ContextMenu for a TreeView ? Yes, just override QWidget.contextMenuEvent for the view. Doug. ___ PyQt mailing listPyQt@riverbankcomputing.com

Re: [PyQt] PyQt for 64-bit Python on Windows

2009-02-16 Thread Ian Jones
If you could provide installers (or anything that save us some steps) many of us would no doubt appreciate it. Ian On Mon, Feb 16, 2009 at 8:53 PM, Ian Jones i...@ambientdivide.com wrote: If you could provide installers (or anything that save us some steps) many of us would no doubt appreciate

[PyQt] How do you transfer pyQT to QT and write it in the right file?

2009-02-16 Thread Knapp
I had all this understood and working well in pyQT but in QT I am lost. I have a nice gui that I made in Designer and transfered to Creator. I want to add a custom signal and slot and its method. My program compiles and runs just fine but I have not added code yet. I have the files main.cpp