[PyQt] Selection of MDI Child and Properties

2008-04-12 Thread B Clowers
So I've been trying to alter the mdi.py example packaged with PyQt and allow the contents of the child windows to be altered using the python interpreter. I've been successful in adding a python shell to the main user interface in a way similar to OpenAlea but really have no clue how to access

Re: [PyQt] Error when compiling pyqt on mac

2008-04-12 Thread Phil Thompson
On Saturday 12 April 2008, Felipe Ferreri Tonello wrote: > Hey guys, I don't know why is not compiling my PyQT for mac.. > > I have the Qt4, SIP, etc.. What versions? > the configure is everything ok.. I specify the qmake and it works fine.. > I'm using the configure like this: > python configure

[PyQt] Error when compiling pyqt on mac

2008-04-12 Thread Felipe Ferreri Tonello
Hey guys, I don't know why is not compiling my PyQT for mac.. I have the Qt4, SIP, etc.. the configure is everything ok.. I specify the qmake and it works fine.. I'm using the configure like this: python configure.py --confirm-license --qmake=/opt/qt4/bin/qmake then I do the make.. but then aft

Re: [PyQt] i18n() takes no unicode objects

2008-04-12 Thread Simon Edwards
Hi, Christoph Burgmer wrote: Though it might seem unnecessary, i18n doesn't take unicode objects as input. Though one would say English, the language which we would wrap i18n with, only needs ASCII, there might be occasions where other characters are needed. The KDE 4 i18n functions take "con

Re: [PyQt] Goods news about the "menu text missing in PyKDE apps with Oxygen" bug

2008-04-12 Thread Simon Edwards
Detlev Offenbach wrote: On Donnerstag, 10. April 2008, Simon Edwards wrote: Hello all, Some people here might have crossed paths with the "menu text missing in PyKDE apps with Oxygen" bug. Basically menu labels are not rendered when a PyKDE4 application is used with the Oxygen widget style. Aft

[partially solved] Re: [PyQt] KProcess setUsePty not there...

2008-04-12 Thread Wilbert Berendsen
Op donderdag 3 april 2008, schreef Jim Bublitz: > On Wednesday 02 April 2008 08:00, Wilbert Berendsen wrote: > > Hi, > > > > I want to run a program that insists on reading from a terminal using > > KProcess (from within PyKDE), but it seems KProcess::setUsePty() does not > > exist: > > > > Python

Re: [PyQt] kdecore.KProcess.Communication enum not OR-able

2008-04-12 Thread Wilbert Berendsen
Op zaterdag 12 april 2008, schreef Jim Bublitz: > > Phil suggests that this: > > p.start(KProcess.NotifyOnExit, KProcess.Communication (KProcess.Stdin | > KProcess.Stdout)) Thanks, it works! I tried to do that, but tried kdecore.Communication instead of KProcess.Communication > should work

Re: [PyQt] kdecore.KProcess.Communication enum not OR-able

2008-04-12 Thread Jim Bublitz
On Saturday 12 April 2008 06:04, Wilbert Berendsen wrote: > Hi, > > The KDE docs say that you can OR the values of the > kdecore.KProcess.Communication enum when start()ing a KProcess.[1] > > However that seems not to be possible: > >>> from kdecore import * > >>> p=KProcess() > >>> p.setExecutable

Re: [PyQt] kdecore.KProcess.Communication enum not OR-able

2008-04-12 Thread Jim Bublitz
On Saturday 12 April 2008 06:04, Wilbert Berendsen wrote: > Hi, > > The KDE docs say that you can OR the values of the > kdecore.KProcess.Communication enum when start()ing a KProcess.[1] > > However that seems not to be possible: > >>> from kdecore import * > >>> p=KProcess() > >>> p.setExecutable

Re: [PyQt] Goods news about the "menu text missing in PyKDE apps with Oxygen" bug

2008-04-12 Thread Detlev Offenbach
On Donnerstag, 10. April 2008, Simon Edwards wrote: > Hello all, > > Some people here might have crossed paths with the "menu text missing in > PyKDE apps with Oxygen" bug. Basically menu labels are not rendered when > a PyKDE4 application is used with the Oxygen widget style. After quite a > lot o

Re: [PyQt] kdecore.KProcess.Communication enum not OR-able

2008-04-12 Thread Wilbert Berendsen
I forgot to mention the version of PyKDE: PyKDE 3.16.0 PyQT 3.17.4 KDE 3.5.8 thx, Wilbert Berendsen -- http://www.wilbertberendsen.nl/ "You must be the change you wish to see in the world." -- Mahatma Gandhi ___ PyQt mailing listPyQt@riverb

Re: [PyQt] PyQt and image processing

2008-04-12 Thread Gerard Vermeulen
On Sat, 12 Apr 2008 02:16:58 -0300 "Laura X" <[EMAIL PROTECTED]> wrote: > Dear PyQt experts, > > I am choosing a GUI toolkit for developing an application > (cross-platform) and PyQt seems to be simpler/more-intuitive for > programming than others. My application will have some basic image > proc

[PyQt] kdecore.KProcess.Communication enum not OR-able

2008-04-12 Thread Wilbert Berendsen
Hi, The KDE docs say that you can OR the values of the kdecore.KProcess.Communication enum when start()ing a KProcess.[1] However that seems not to be possible: >>> from kdecore import * >>> p=KProcess() >>> p.setExecutable('cat') True >>> p.start(KProcess.NotifyOnExit, KProcess.Stdin | KProcess

[PyQt] Small error in PyKDE4 tutorial for KAction (4th program)

2008-04-12 Thread Christoph Burgmer
The kactionui.rc file given in the fourth example "KAction" in the PyKDE4 tutorial uses a ampersand for the text string of the file menu. As & is a special character in XML it needs to be encoded as & which the author maybe already did, but then forgot to encode the & again to & Christoph _

[PyQt] Python(x,y), Python/Qt for Scientists

2008-04-12 Thread Python(x,y)
Dear all, The scientists among you may be interested in Python(x,y), a new scientific-oriented Python distribution. This Python/Eclipse/PyQt distribution is freely available as a one-click Windows installer (a release for GNU/Linux with similar features will follow soon): http://www.pythonxy.com

Re: [PyQt] Cross Compiled PYQT

2008-04-12 Thread Aaron Digulla
Hal Glenn schrieb: > OK, I ended up following David's example completely, at first we had > tried with newer versions of Python QT sip etc but each one possessed a > problem so we dropped back to using David's work almost word for word, > accept in order to cross compile Python we had to edit it's

Re: [PyQt] Custom QSqlRelationalDelagate: how to change text?

2008-04-12 Thread Simone
Mark Summerfield ha scritto: On 2008-04-11, Simone Zaccarin wrote: I'm trying to create a custom QSqlRelationalDelegate. In the database, the date field is in text form '-MM-dd'. I have to show that string in a QSqlTable in the form 'dd-MM-'. If that's the only change you want to make