[PyQt] WaitCursor is ignored

2009-11-03 Thread Mads Ipsen
Hey, I want to display a widget as disabled (setEnabled(False)) with its cursor set to Qt.WaitCursor. Disabling the widget, however, always display the widget with a normal Qt.ArrowCursor if if the cursor is changed. How do I obtain a disabled widget with a Qt.WaitCursor? Code that

[PyQt] pyuic : backslash escaping with untranslatable strings

2009-11-03 Thread Felix Schmidt
Hi, I got the following bug (or Feature?) in pyuic : With Qt Designer I created a QLineEdit with inputMask set to \0\x;_ (to input a hex-value like 0x12AB). So far it's fine. But when I uncheck the translatable flag of this inputMask (don't want it to be translated in any language),

Re: [PyQt] Strange mouse event and drag/drop behaviour in QGraphicsItem

2009-11-03 Thread Stefan Larsson
Referring to: http://www.riverbankcomputing.com/pipermail/pyqt/2009-October/024845.html Windows does not get the drag events until the mouse is actually moved. Question 2: How should the inconsistency in drag events be handled? I just want to share that I found a description of the differences

[PyQt] QFtp.Put and the dataTransferProgress signal.

2009-11-03 Thread Anthony Plunkett
Hi, I've been trying to get a binary file uploaded to an FTP server using QtNetwork.QFtp on Windows XP. The area I seem to be having trouble with is getting the dataTransferProgress signal to fire. The method comes in two forms, one which accepts a QByteArray, which seemingly doesn't have

Re: [PyQt] SIP default exception handler

2009-11-03 Thread Sébastien Petitdemange
Hi, We have tested your snapshot code and it works as expected. In fact, we had a rather obscure problem where our exceptions were thrown in our library, but it was not seen by your specific catch route. After a lot of research, we saw that the Python (distutils) Makefile hides by default the

Re: [PyQt] Problem with latest sip causing wrong function to be called(QVariant related)

2009-11-03 Thread Matt Newell
On Tuesday 03 November 2009 09:53:32 Matt Newell wrote: I have these two functions in a class. Same definition in both the .h and the .sip file. MappedRecordList filter( const QString column, const QVariant value, bool keepMatches = true ) const; MappedRecordList filter( const

[PyQt] Problem with latest sip causing wrong function to be called(QVariant related)

2009-11-03 Thread Matt Newell
I have these two functions in a class. Same definition in both the .h and the .sip file. MappedRecordList filter( const QString column, const QVariant value, bool keepMatches = true ) const; MappedRecordList filter( const QString column, const QRegExp re, bool

Re: [PyQt] WaitCursor is ignored

2009-11-03 Thread Baz Walter
Mads Ipsen wrote: Hey, I want to display a widget as disabled (setEnabled(False)) with its cursor set to Qt.WaitCursor. Disabling the widget, however, always display the widget with a normal Qt.ArrowCursor if if the cursor is changed. How do I obtain a disabled widget with a Qt.WaitCursor?

Re: [PyQt] WaitCursor is ignored

2009-11-03 Thread Mads Ipsen
Baz Walter wrote: Mads Ipsen wrote: Hey, I want to display a widget as disabled (setEnabled(False)) with its cursor set to Qt.WaitCursor. Disabling the widget, however, always display the widget with a normal Qt.ArrowCursor if if the cursor is changed. How do I obtain a disabled widget

Re: [PyQt] pyuic : backslash escaping with untranslatable strings

2009-11-03 Thread Mads Ipsen
Mads Ipsen wrote: Felix Schmidt wrote: Hi, I got the following bug (or Feature?) in pyuic : With Qt Designer I created a QLineEdit with inputMask set to \0\x;_ (to input a hex-value like 0x12AB). So far it's fine. But when I uncheck the translatable flag of this inputMask (don't want it

[PyQt] Global Shorcuts

2009-11-03 Thread Manuel Enrique
Hello people. How can I set a global shorcut for my app? It is a desktop specific issue? Cheers, Manuel. ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[PyQt] fastPATX Panther for your speedy web browsing needs!

2009-11-03 Thread patx
fastPATX Panther is now out! It beats Firefox on startup and is very lightweight you have to try it! Download here: http://bitbucket.org/patx/fastpatx/fastpatx-panther.py -- patx, python gui and web, http://patx.me ___ PyQt mailing list

Re: [PyQt] pyuic : backslash escaping with untranslatable strings

2009-11-03 Thread Mads Ipsen
Felix Schmidt wrote: Hi, I got the following bug (or Feature?) in pyuic : With Qt Designer I created a QLineEdit with inputMask set to \0\x;_ (to input a hex-value like 0x12AB). So far it's fine. But when I uncheck the translatable flag of this inputMask (don't want it to be translated

Re: [PyQt] Problem with latest sip causing wrong function to be called(QVariant related)

2009-11-03 Thread Phil Thompson
On Tue, 3 Nov 2009 10:53:32 -0700, Matt Newell newe...@blur.com wrote: I have these two functions in a class. Same definition in both the .h and the .sip file. MappedRecordList filter( const QString column, const QVariant value, bool keepMatches = true ) const;

[PyQt] Re: Global Shorcuts

2009-11-03 Thread Wolfgang Rohdewald
On Wednesday 04 November 2009, Manuel Enrique wrote: How can I set a global shorcut for my app? look up setShortcutContext in the docu: res = KAction(self) # should also work with QAction, I suppose res.setShortcut( Qt.CTRL + shortcut) res.setShortcutContext(Qt.ApplicationShortcut) --