[PyQt] embedding pyqt into a CPP app

2012-01-18 Thread Josh Stratton
I've seen a couple examples for compiling a CPP app into a pyqt-loadable module such as http://lynxline.com/qt-python-superhybrids/, but that still requires compiling an existing application down to a C++ module. Is it possible to use pyqt inside an existing CPP application to run python code simi

Re: [PyQt] [Eric] Installation Path Problems Python 2.7 and 3.2

2012-01-18 Thread Robert Ford
Hello, YOU ADVISED: "You better use this command c:\python32\python install.py If you install via double click onto the install script you might pick the wrong interpreter version depending on your PATH settings" ME: I ran your suggested command from inside the eric5-5.1.8 folder and eric5 is

Re: [PyQt] Building PyQT windows 7 64 bit QT 4.8.0

2012-01-18 Thread Teodor Calin Hanchevici
Hi Phil, I do have QGIS installed, and it comes with PyQT as well, however the distribution is clean (the interpreter is not in the path and it is installed in QGIS directory. I have renamed sip.exe from QGIS and tried again Creating the Makefile for the QtMultimedia module... Generating the C++

Re: [PyQt] Building PyQT windows 7 64 bit QT 4.8.0

2012-01-18 Thread Phil Thompson
On Wed, 18 Jan 2012 21:14:01 +, calin.hanchev...@gmail.com wrote: > Hi, > > I am trying to build PyQt-win-gpl-4.9 on Windows 7 professional 64 bit. I > have QT 4.8.0 and Python2.7 and 3.2 > I have downloaded and built sip-4.13.1. > > With both versions of python I get the following error: >

Re: [PyQt] QStringList does not inherit QList methods?

2012-01-18 Thread Phil Thompson
On Wed, 18 Jan 2012 12:44:57 -0800, David Cortesi wrote: > Per both the Qt Assistant and the PyQt4 class reference, QStringList > inherits all methods of QList, but the following code produces the > error message, AttributeError: 'QStringList' object has no attribute > 'at'. If I convert the .at(0

[PyQt] Building PyQT windows 7 64 bit QT 4.8.0

2012-01-18 Thread calin . hanchevici
Hi, I am trying to build PyQt-win-gpl-4.9 on Windows 7 professional 64 bit. I have QT 4.8.0 and Python2.7 and 3.2 I have downloaded and built sip-4.13.1. With both versions of python I get the following error: Generating the C++ source for the QtNetwork module... sip: __or__() unsupported fun

[PyQt] QStringList does not inherit QList methods?

2012-01-18 Thread David Cortesi
Per both the Qt Assistant and the PyQt4 class reference, QStringList inherits all methods of QList, but the following code produces the error message, AttributeError: 'QStringList' object has no attribute 'at'. If I convert the .at(0) to simple [0] indexing, the error moves on to say "no attribute

Re: [PyQt] Installation Path Problems Python 2.7 and 3.2

2012-01-18 Thread Phil Thompson
On Wed, 18 Jan 2012 17:29:39 -, "Robert Ford" wrote: > Hello, > > Windows Vista SP2 32 bit > Python 2.7.2 > Python 3.2.2 > eric4-4.4.20 > eric5-5.18 > PyQt-Py2.7-x86-gpl-4.9-1.exe > PyQt-Py3.2-x86-gpl-4.9-1.exe > > PYQT INSTALL MAY SET WRONG PATHS? > > I am trying to install eric4 and eric

Re: [PyQt] [Eric] Installation Path Problems Python 2.7 and 3.2

2012-01-18 Thread Detlev Offenbach
Am Mittwoch, 18. Januar 2012, 17:29:39 schrieb Robert Ford: > Hello, > > Windows Vista SP2 32 bit > Python 2.7.2 > Python 3.2.2 > eric4-4.4.20 > eric5-5.18 > PyQt-Py2.7-x86-gpl-4.9-1.exe > PyQt-Py3.2-x86-gpl-4.9-1.exe > > PYQT INSTALL MAY SET WRONG PATHS? > > I am trying to install eric4 and eri

[PyQt] Installation Path Problems Python 2.7 and 3.2

2012-01-18 Thread Robert Ford
Hello, Windows Vista SP2 32 bit Python 2.7.2 Python 3.2.2 eric4-4.4.20 eric5-5.18 PyQt-Py2.7-x86-gpl-4.9-1.exe PyQt-Py3.2-x86-gpl-4.9-1.exe PYQT INSTALL MAY SET WRONG PATHS? I am trying to install eric4 and eric 5 into respectively Python 2.7 and Python 3.2. This uses the appropriate PyQt win

Re: [PyQt] QWebkit: saving/caching user input

2012-01-18 Thread Andreas Pakulat
On 17.01.12 18:24:50, James Polk wrote: > okay, Back at the front,... > > Let's say we use QWebKit to read an HTML file containing a javascript > textField...like so: > > > >     >     >     Name: value="John"> >     >     > > > When displayed,..the user types "Mary" int

[PyQt] QPrinter and matplotlib

2012-01-18 Thread Nils Wagner
Hi all, I added a printer button to the navigation toolbar in matplotlib. However the quality of the print-out is poor using QPrinter. Moreover the frame including the navigation toolbar is printed. How can I omit that ? How can I improve the quality of the hardcopy ? If I save the figure b