Re: [PyQt] Integer rollover issue in signals

2010-06-07 Thread Rien Korstanje
Thanks Phil, being able to use any Python type as signal arguments it's not quite what I expected. I reckon the overlap with the C++ types had me confused then. Regards, Rien On Mon, Jun 7, 2010 at 11:43 PM, Phil Thompson wrote: > On Mon, 7 Jun 2010 11:47:40 +0200, Rien Korstanje > > wrote: >

Re: [PyQt] Integer rollover issue in signals

2010-06-07 Thread Phil Thompson
On Mon, 7 Jun 2010 11:47:40 +0200, Rien Korstanje wrote: > Hello, > > I think I have identified an integer roll over issue when using PyQt slots. > When passing a python long through a signal it comes out as an int. Please > see the example below. > > Is this a bug? No. The problem is that int/

Re: [PyQt] pyjamas desktop port now using pyqt4: bu gs and limitations of PyQt4.QtWebKit encounte red

2010-06-07 Thread David Boddie
On Mon Jun 7 01:02:06 BST 2010, Luke Kenneth Casson Leighton wrote: > all i know is that QWebElement is far from complete, and is really > incredibly awkward to use. it's a long long way away from looking > like the W3C DOM functions and properties it's supposed to present > (cloneNode has been r

Re: [PyQt] pyjamas desktop port now using pyqt4: bugs and limitations of PyQt4.QtWebKit encountered

2010-06-07 Thread David Boddie
On Monday 07 June 2010, projet...@club-internet.fr wrote: > Thanks for all. > > There is a very simple example here : http://pysnippet.blogspot.com/2010/01/calling-python-from-javascript-in-pyqts.html > > I think it could be helpfull. I almost forgot: thanks for the link! David _

Re: [PyQt] pyjamas desktop port now using pyqt4: bugs and limitations of PyQt4.QtWebKit encountered

2010-06-07 Thread David Boddie
On Monday 07 June 2010, projet...@club-internet.fr wrote: > > There is a very simple example here : http://pysnippet.blogspot.com/2010/01/calling-python-from-javascript-in-pyqts.html > > I think it could be helpfull. I've linked to it from my example in the Wiki, but I may link to it from ano

Re: [PyQt] pyjamas desktop port now using pyqt4: bugs and limitations of PyQt4.QtWebKit encountered

2010-06-07 Thread projetmbc
Thanks for all. There is a very simple example here : http://pysnippet.blogspot.com/2010/01/calling-python-from-javascript-in-pyqts.html I think it could be helpfull. Christophe Message du : 07/06/2010 De : "David Boddie " A : pyqt@riverbankcomputin

Re: [PyQt] pyjamas desktop port now using pyqt4: bugs and limitations of PyQt4.QtWebKit encountered

2010-06-07 Thread David Boddie
On Mon Jun 7 09:25:55 BST 2010, Christophe wrote: >>> QtWebKit, not PyQt, provides the bridge between C++ and JavaScript. PyQt >>> integrates Python with Qt's meta-object system which gives you the bridge >>> between Python and JavaScript for free. > Are there simple and not so simple examples o

Re: [PyQt] QPlainTextEdit not created in a widget through a QAction

2010-06-07 Thread Mark Summerfield
On 2010-06-07, Gerardo Gutierrez wrote: > Thanks Mark, I did some things that you recommended: Hi Gerardo, > I changed the notebook class, so it inherits from QWIdget and no container > need to be used, the notebook itself is going to be embedded in the > QScrollArea: > > class Notebook(QtGui.Q

Re: [PyQt] Problem with printing to pdf

2010-06-07 Thread Mark Summerfield
On 2010-06-07, mille kink wrote: > Dear, > > I'm creating an application where there are several pdf's being > created in batch. > As far as creating the pdf's there is no problem, all is working smooth. > > Im using a QWebview to build up the document and then print it to a > QPrinter > > > B

[PyQt] Phonon VLC backend on Windows

2010-06-07 Thread Vláďa
Hello, I'm trying to build a music player by using PyQt and Phonon. I'm developing on Windows. On many computers I have problems with the included DirectShow Phonon backend. I would like to replace it with VLC backend. I found information that it should be available with VLC 1.1 (which I have

Re: [PyQt] QPlainTextEdit not created in a widget through a QAction

2010-06-07 Thread Gerardo Gutierrez
Thanks Mark, I did some things that you recommended: I changed the notebook class, so it inherits from QWIdget and no container need to be used, the notebook itself is going to be embedded in the QScrollArea: class Notebook(QtGui.QWidget): def __init__(self,parent): QtGui.QWidget.__in

[PyQt] Problem with printing to pdf

2010-06-07 Thread mille kink
Dear, I'm creating an application where there are several pdf's being created in batch. As far as creating the pdf's there is no problem, all is working smooth. Im using a QWebview to build up the document and then print it to a QPrinter But now comes the question. Is there a signal to attach t

[PyQt] Integer rollover issue in signals

2010-06-07 Thread Rien Korstanje
Hello, I think I have identified an integer roll over issue when using PyQt slots. When passing a python long through a signal it comes out as an int. Please see the example below. Is this a bug? If so, is there a workaround? Regards, Rien Korstanje --- ''' Demonstrates an integer overflow in

Re: [PyQt] pyjamas desktop port now using pyqt4: bugs and limitations of PyQt4.QtWebKit encountered

2010-06-07 Thread projetmbc
Hello, >>> QtWebKit, not PyQt, provides the bridge between C++ and JavaScript. PyQt >>> integrates Python with Qt's meta-object system >>> which gives you the bridge between Python and JavaScript for free. Are there simple and not so simple examples of this kind of functionnalities somewhere ? C

Re: [PyQt] Communication between Python and JavaScript

2010-06-07 Thread projetmbc
Hello, >>> you would do well to take a look at the experimental pyjd pyqt4, >>> ... >>> you have a couple of source code bundles to choose from: >>> http://pyjamas-dev.googlegroups.com/web/pyjamas_pyqt.tgz >>> or http://sf.net/projects/pyjamas and go to the git repository. Thanks I'll take a look a

Re: [PyQt] pyjamas desktop port now using pyqt4: bugs and limitations of PyQt4.QtWebKit encountered

2010-06-07 Thread Phil Thompson
On Mon, 7 Jun 2010 00:02:06 +, Luke Kenneth Casson Leighton wrote: > henning schroeder created an experimental port of pyjamas desktop to > pyqt4 some months ago: i resurrected it and placed it into the latest > git on http://sf.net/projects/pyjamas.  i'm pleased to be able to say > that, than