Re: PyQt with embedded python in Qt App

2007-11-12 Thread Bart.
Saturday 03 of November 2007 02:43:21 cgrebeld napisał(a): > http://python.pastebin.com/m18c67b3a Thank You, now I understand. Now how to extend this interpreter with Qt Application classes/objects to do some usefull things with this embeded interpreter ? Bart. -- http://mail.python.org/mailma

Re: PyQt with embedded python in Qt App

2007-11-02 Thread cgrebeld
On Nov 2, 7:59 am, "Bart." <[EMAIL PROTECTED]> wrote: > Friday 02 of November 2007 12:21:06 BlueBird napisa (a): > > > > > On Nov 2, 8:03 am, "Bart." <[EMAIL PROTECTED]> wrote: > > > Friday 02 of November 2007 01:06:58 Diez B. Roggisch napisa (a): > > > > > So how to pass this object into embeded p

PyQt with embedded python in Qt App

2007-11-02 Thread David Boddie
On Fri Nov 2 12:59:48 CET 2007, Bart. wrote: > Or I want to use PyQt in scripts to have similar gui for plugins written in > python > Or I want to extend application by scripts with PyQt. > > Or better question: > How to easy add python scripting in Qt application and have almast all > objects o

Re: PyQt with embedded python in Qt App

2007-11-02 Thread Bart.
Friday 02 of November 2007 12:21:06 BlueBird napisał(a): > On Nov 2, 8:03 am, "Bart." <[EMAIL PROTECTED]> wrote: > > Friday 02 of November 2007 01:06:58 Diez B. Roggisch napisa (a): > > > > So how to pass this object into embeded python interpreter (executed > > > > script)? Anyone know any example

Re: PyQt with embedded python in Qt App

2007-11-02 Thread BlueBird
On Nov 2, 8:03 am, "Bart." <[EMAIL PROTECTED]> wrote: > Friday 02 of November 2007 01:06:58 Diez B. Roggisch napisa (a): > > > > So how to pass this object into embeded python interpreter (executed > > > script)? Anyone know any example? > > > You don't pass it, you _retrieve_ it in the embedded in

Re: PyQt with embedded python in Qt App

2007-11-01 Thread Bart.
Friday 02 of November 2007 01:06:58 Diez B. Roggisch napisał(a): > > So how to pass this object into embeded python interpreter (executed > > script)? Anyone know any example? > > You don't pass it, you _retrieve_ it in the embedded interpreter by > invoking the code given to you. > Know any examp

Re: PyQt with embedded python in Qt App

2007-11-01 Thread Diez B. Roggisch
Bart. schrieb: > Thursday 01 of November 2007 23:32:02 Phil Thompson napisał(a): >> On Thursday 01 November 2007, Bart. wrote: >>> Thursday 01 of November 2007 15:13:55 Phil Thompson napisał(a): On Thursday 01 November 2007, cgrebeld wrote: > Is it possible for a Qt C++ application, which

Re: PyQt with embedded python in Qt App

2007-11-01 Thread Bart.
Thursday 01 of November 2007 23:32:02 Phil Thompson napisał(a): > On Thursday 01 November 2007, Bart. wrote: > > Thursday 01 of November 2007 15:13:55 Phil Thompson napisał(a): > > > On Thursday 01 November 2007, cgrebeld wrote: > > > > Is it possible for a Qt C++ application, which embeds the pyth

Re: PyQt with embedded python in Qt App

2007-11-01 Thread Phil Thompson
On Thursday 01 November 2007, Bart. wrote: > Thursday 01 of November 2007 15:13:55 Phil Thompson napisał(a): > > On Thursday 01 November 2007, cgrebeld wrote: > > > Is it possible for a Qt C++ application, which embeds the python > > > interpreter, to import and use PyQt? There can be only one > >

Re: PyQt with embedded python in Qt App

2007-11-01 Thread Bart.
Thursday 01 of November 2007 15:13:55 Phil Thompson napisał(a): > On Thursday 01 November 2007, cgrebeld wrote: > > Is it possible for a Qt C++ application, which embeds the python > > interpreter, to import and use PyQt? There can be only one > > QApplication, which is created in the C++ side, so

Re: PyQt with embedded python in Qt App

2007-11-01 Thread Phil Thompson
On Thursday 01 November 2007, cgrebeld wrote: > Is it possible for a Qt C++ application, which embeds the python > interpreter, to import and use PyQt? There can be only one > QApplication, which is created in the C++ side, so how would I use > that from the python side? QtGui.QApplication.instan

PyQt with embedded python in Qt App

2007-11-01 Thread cgrebeld
Is it possible for a Qt C++ application, which embeds the python interpreter, to import and use PyQt? There can be only one QApplication, which is created in the C++ side, so how would I use that from the python side? -- http://mail.python.org/mailman/listinfo/python-list