[PyQt] compile flags propagation WAS: RE: PyQt snapshot debug info

2010-12-08 Thread Hans-Peter Jansen
On Tuesday 07 December 2010, 20:41:42 Hans-Peter Jansen wrote: > On Tuesday 07 December 2010, 18:21:16 Phil Thompson wrote: > > On Mon, 6 Dec 2010 21:57:15 +0100, "Hans-Peter Jansen" > > > > > > >PyQt-x11-gpl-snapshot-4.8.2-24a6ba5f4f0f/qpy/QtDeclarative/QtDecla > > >rative/sipAPIQtDeclarative.h:

[PyQt] Switching languages dynamically example

2010-12-08 Thread Hans-Peter Jansen
Hi, I found a Qt example of switching languages dynamically here: http://www.qtcentre.org/wiki/index.php?title=Dynamic_translation_in_Qt4_applications In addition to the original version, the PyQt version does try to preselect the language intelligently to the current system default. Since it

[PyQt] Question about drawing background images in a QGraphicsScene and QGraphicsView

2010-12-08 Thread dizou
I have a QGraphicsScene and a QGraphicsView. I am currently using the QGraphicsView to draw a backgorund image. I have reimplemented the QGraphicsView::drawBackground() function like this: def drawBackground(self, painter, rect): sceneRect = self.sceneRect() if self.background:

Re: [PyQt] Switching languages dynamically example

2010-12-08 Thread Giovanni Bajo
On mer, 2010-12-08 at 15:26 +0100, Hans-Peter Jansen wrote: > Hi, > > I found a Qt example of switching languages dynamically here: > > http://www.qtcentre.org/wiki/index.php?title=Dynamic_translation_in_Qt4_applications > > In addition to the original version, the PyQt version does try to > pr

Re: [PyQt] Bug in QFileDialog

2010-12-08 Thread Vicent Mas
On 2010-12-03 Vicent Mas said: > On 2010-12-03 Vicent Mas said: > > Hi, > > > > the attached script shows a bug in QFileDialog. If on a given dialog you > > call setLabelText(QFileDialog.Accept, text) and then you call > > setFileMode(FileMode) then the label is not set and the default label is

[PyQt] GMail

2010-12-08 Thread Mads Ipsen
Hi, If I post a message in the mailing list from my gmail account, my own post does not appear in my inbox. Has anybody here experienced a similar problem? Best regards, Mads -- +--+ | Mads Ipsen, Scientific developer

Re: [PyQt] Question about drawing background images in a QGraphicsScene and QGraphicsView

2010-12-08 Thread Hans-Peter Jansen
On Wednesday 08 December 2010, 16:26:01 dizou wrote: > I have a QGraphicsScene and a QGraphicsView. I am currently using the > QGraphicsView to draw a backgorund image. I have reimplemented the > QGraphicsView::drawBackground() function like this: > > def drawBackground(self, painter, rect): >

Re: [PyQt] Bug in QFileDialog

2010-12-08 Thread Hans-Peter Jansen
On Friday 03 December 2010, 11:12:42 Vicent Mas wrote: > Hi, > > the attached script shows a bug in QFileDialog. If on a given dialog > you call setLabelText(QFileDialog.Accept, text) and then you call > setFileMode(FileMode) then the label is not set and the default label > is used. If you call se

Re: [PyQt] Bug in QFileDialog

2010-12-08 Thread Antonio Valentino
Hi Vicent, hi Pete, Il giorno Wed, 8 Dec 2010 18:41:25 +0100 "Hans-Peter Jansen" ha scritto: > On Friday 03 December 2010, 11:12:42 Vicent Mas wrote: > > Hi, > > > > the attached script shows a bug in QFileDialog. If on a given dialog > > you call setLabelText(QFileDialog.Accept, text) and then

Re: [PyQt] Question about drawing background images in a QGraphicsScene and QGraphicsView

2010-12-08 Thread dizou
Last time I tried this, it didn't work, but I redid it and that works now. Don't know why. Thanks. Hans-Peter Jansen-2 wrote: > > > Why don't you check a physical path beforehand, and only use the > resource png, if none physically exist? > > Pete > __

Re: [PyQt] Bug in QFileDialog

2010-12-08 Thread Vicent Mas
On 2010-12-08 "Hans-Peter Jansen" said: > On Friday 03 December 2010, 11:12:42 Vicent Mas wrote: > > Hi, > > > > the attached script shows a bug in QFileDialog. If on a given dialog > > you call setLabelText(QFileDialog.Accept, text) and then you call > > setFileMode(FileMode) then the label is

Re: [PyQt] GMail

2010-12-08 Thread Yao Ko
On Wed, Dec 8, 2010 at 9:23 AM, Mads Ipsen wrote: > Hi, > > If I post a message in the mailing list from my gmail account, my own post > does not appear in my inbox. Has anybody here experienced a similar problem? That's working as expected due to the way Gmail does threading. Yao __

Re: [PyQt] Bug in QFileDialog

2010-12-08 Thread Hans-Peter Jansen
On Wednesday 08 December 2010, 20:24:16 Vicent Mas wrote: > On 2010-12-08 "Hans-Peter Jansen" said: > > On Friday 03 December 2010, 11:12:42 Vicent Mas wrote: > > > Hi, > > > > > > the attached script shows a bug in QFileDialog. If on a given > > > dialog you call setLabelText(QFileDialog.Accept,

Re: [PyQt] Bug in QFileDialog

2010-12-08 Thread Hans-Peter Jansen
Hi Antonio, On Wednesday 08 December 2010, 19:37:09 Antonio Valentino wrote: > Hi Vicent, hi Pete, > > Il giorno Wed, 8 Dec 2010 18:41:25 +0100 > > "Hans-Peter Jansen" ha scritto: > > On Friday 03 December 2010, 11:12:42 Vicent Mas wrote: > > > Hi, > > > > > > the attached script shows a bug in Q

Re: [PyQt] Bug in QFileDialog

2010-12-08 Thread Hans-Peter Jansen
On Wednesday 08 December 2010, 22:42:45 Hans-Peter Jansen wrote: > On Wednesday 08 December 2010, 20:24:16 Vicent Mas wrote: > > On 2010-12-08 "Hans-Peter Jansen" said: > > > On Friday 03 December 2010, 11:12:42 Vicent Mas wrote: > > > > Hi, > > > > > > > > the attached script shows a bug in QFile

Re: [PyQt] Bug in QFileDialog

2010-12-08 Thread Vicent Mas
On 2010-12-08 "Hans-Peter Jansen" said: > [...] > > Vicent, bad luck: check the fileMode paragraph a couple of lines below: > > http://doc.trolltech.com/latest/qfiledialog.html#FileMode-enum > > This function will set the labels for the FileName and Accept > DialogLabels. It is possible to set