Re: [PyQt] Render ps files

2010-03-06 Thread Mark Summerfield
On 2010-03-05, Matt Smith wrote: > Is there a way to render ps (postscript) files, to a pixmap, or QImage? > Something I could display in a widget at least. > > thanks > mbs I don't think there's anything built in to PyQt to do this. However, you could use ghostscript to convert PS to PDF and th

[PyQt] QKeySequence.Quit missing

2010-03-06 Thread Christoph Burgmer
It seems QKeySequence.Quit and QKeySequence.Preferences are missing from enum QKeySequence::StandardKey >>> from PyQt4.QtGui import QKeySequence >>> QKeySequence.InsertLineSeparator 62 >>> QKeySequence.SaveAs 63 >>> QKeySequence.Preferences Traceback (most recent call last): File "", line 1, in

[PyQt] QDataWidgetMapper null values/ beforeInsert problem

2010-03-06 Thread bar tomas
Hi, I'm using a QDataWidgetMapper to map the fields in a database table to the fields in a form. If a field in the form is left empty I would like a null value to be inserted in the database field. However, empty fields are given a 0 value for numeric fields and an empty string value for text fiel

Re: [PyQt] Embedding VLC

2010-03-06 Thread David Boddie
On Sat Mar 6 09:25:33 GMT 2010, Matt Carlson wrote: > Chris Laux wrote: > > I made a prototype PyQt app that plays movies using MPlayer which > > displays the video in a plain QWidget. It turns out to be very simple - > > just pass "-wid" to mplayer and then the widget's .winId(). I'm using > > mp

[PyQt] ANN: New eric 5.0 snapshot released

2010-03-06 Thread detlev
;, "clipboard", "cur_select", "insertion", "select_start" and "select_end" - added the auto fork options to the run dialog - added capability to change the keywords of a syntax highlighter It is available via http://sourceforge.net/projects/eric-ide/f

[PyQt] ANN: eric 4.4.2 released

2010-03-06 Thread detlev
Hi, I just uploaded eric 4.4.2. It is a maintenance release fixing some bugs. It is available via the eric web site. http://eric-ide.python-projects.org/index.html Regards, Detlev -- Detlev Offenbach det...@die-offenbachs.de ___ PyQt mailing list

Re: [PyQt] Embedding VLC

2010-03-06 Thread Matt Carlson
Chris Laux wrote: I made a prototype PyQt app that plays movies using MPlayer which displays the video in a plain QWidget. It turns out to be very simple - just pass "-wid" to mplayer and then the widget's .winId(). I'm using mpylayer ( http://code.google.com/p/mpylayer/ ) to control mplayer

Re: [PyQt] How to use a pixmap in a thread ?

2010-03-06 Thread Andreas Pakulat
On 06.03.10 09:04:57, Vincent Vande Vyvre wrote: > Hi, > > In a image viewer I need to show a list of pictures into a trailer. > > Since the source folder contain a large amount of pictures, I want to > create they thumbnails > in a thread, but PyQt return an error. > > QPixmap::scaled: Pixm

[PyQt] How to use a pixmap in a thread ?

2010-03-06 Thread Vincent Vande Vyvre
Hi, In a image viewer I need to show a list of pictures into a trailer. Since the source folder contain a large amount of pictures, I want to create they thumbnails in a thread, but PyQt return an error. QPixmap::scaled: Pixmap is a null pixmap QPixmap: It is not safe to use pixmaps outs