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

2008-04-12 Thread Simone
Simone Zaccarin ha scritto: My only problem is that I construct the UI via QtDesigner. Is there a way to overwrite the table added via Designer without being a PyQt4 expert? Sorry, I misunderstood the message... :) The QSqlRelationalTableModel is added by code... :) Simone Chiacchiera con i

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

[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

[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 amp; which the author maybe already did, but then forgot to encode the amp; again to amp;amp;

[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.Stdout)

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 processing

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 list

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 of

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('cat') True

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('cat') True

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 - I

[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 2.5.1

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.

[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

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.py

[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