Re: [PyQt] QMYSQL + QSqlQueryModel.

2009-09-23 Thread Igor Prischepoff
Hello, my previous post didn't have any asnwers, so I'll try once again: now I'm cutting my example to bare minimum (without models) it's still behaves very strange: My info: winxp, msyql 5.0.45, python 2.6.2, latest precompiled pyqt which comes with mysql plugin as dll , qt 2009.3 Here is a scr

[PyQt] Defining hotspots on a picture

2009-09-23 Thread Rabson, Hugo SPC MIL USA USARPAC
I'm trying to populate a QGraphicsView.scene() with user-adjustable boxes. In theory, the QGraphicsView will display a picture to display on the scene, then the scene will let the user draw boxes on top of that scene. I'm trying to find a way to make those boxes adjustable. Chapter 12 of Mark Summ

Re: [PyQt] Problem catching exception from SIP-wrapped function

2009-09-23 Thread Phil Thompson
On Tue, 22 Sep 2009 20:28:09 +0200, Arve Knudsen wrote: > On Tue, Sep 22, 2009 at 7:27 PM, Phil Thompson > wrote: > >> On Tue, 22 Sep 2009 19:17:12 +0200, Arve Knudsen >> wrote: >> > On Tue, Sep 22, 2009 at 6:28 PM, Phil Thompson >> > wrote: >> > >> >> On Mon, 21 Sep 2009 18:40:35 +0200, Arve Kn

[PyQt] QtWebKit to PDF rendering

2009-09-23 Thread Sundance
Dominic Jacobssen wrote: > Anyway, I've attached my efforts, and I'd greatly appreciate any > guidance or prodding in the right direction. Hi Dominic, hi all, Attached herein is a version that works by sizing the PDF page correctly. (Also the URL and destination file are command line arguments

Re: [PyQt] Connect and signal question

2009-09-23 Thread Phil Thompson
On Wed, 23 Sep 2009 15:01:24 +0200, Michele Petrazzo - Unipex wrote: > Hi all, > I'm trying to use qt/pyqt for the first time and I found the first > problems... > I see that when I connect a signal to a widget, if I create a wrong > signal, qt don't say me that I'm wrong let me crazing to find wh

Re: [PyQt] QtWebKit to PDF rendering

2009-09-23 Thread Dominic Jacobssen
On Wed, Sep 23, 2009 at 1:21 PM, Giovanni Bajo wrote: > There's already a complete solution available for this: > http://code.google.com/p/wkhtmltopdf/ > > You may want to have a look at the code. Hi Giovanni; thanks for your reply. Unfortunately, I've already seen wkhtmltopdf. As I said in my o

[PyQt] Connect and signal question

2009-09-23 Thread Michele Petrazzo - Unipex
Hi all, I'm trying to use qt/pyqt for the first time and I found the first problems... I see that when I connect a signal to a widget, if I create a wrong signal, qt don't say me that I'm wrong let me crazing to find why qt don't call my callback... So, there is a method for say to qt to warning m

Re: [PyQt] Connect and signal question

2009-09-23 Thread Michele Petrazzo - Unipex
Phil Thompson wrote: Assuming you have a recent version then use the new connection syntax... 4.4 on debian lenny or squeeze self.my_rb.toggled.connect(self._evt_my_rb) I think that I need at least 4.5 because it doesn't work. I'll wait for a debian update. Phil Thanks, Michele

Re: [PyQt] QtWebKit to PDF rendering

2009-09-23 Thread Giovanni Bajo
On 9/23/2009 7:47 AM, Dominic Jacobssen wrote: Hi all. I'm a newbie to Qt (but not to Python), and I wanted to ask for "next step" guidance. I want to generate PDF reports by pointing a HTML-to-PDF renderer at a server that spits out well-formed XHTML with inline SVG. I know that that's a can o

Re: [PyQt] Changes on a widget recorded as a movie?

2009-09-23 Thread V. Armando Solé
Phil Thompson wrote: On Wed, 23 Sep 2009 11:02:29 +0200, "V. Armando Solé" wrote: Hello, I am recording changes on a QGLWidget grabbing the widget as png files. My goal is to produce a sort of easy-to-embed animation for using it in impress and/or powerpoint. Is there a way to achieve

Re: [PyQt] Changes on a widget recorded as a movie?

2009-09-23 Thread Phil Thompson
On Wed, 23 Sep 2009 11:02:29 +0200, "V. Armando Solé" wrote: > Hello, > > I am recording changes on a QGLWidget grabbing the widget as png files. > My goal is to produce a sort of easy-to-embed animation for using it in > impress and/or powerpoint. > > Is there a way to achieve that from with

[PyQt] Changes on a widget recorded as a movie?

2009-09-23 Thread V. Armando Solé
Hello, I am recording changes on a QGLWidget grabbing the widget as png files. My goal is to produce a sort of easy-to-embed animation for using it in impress and/or powerpoint. Is there a way to achieve that from within python and Qt and therefore not having to use external programs? Tha

Re: [PyQt] Re: Problem with latest PyQt4 snapshot

2009-09-23 Thread Phil Thompson
On Tue, 22 Sep 2009 20:18:27 +0200, Detlev Offenbach wrote: > On Dienstag, 22. September 2009, Phil Thompson wrote: >> On Tue, 22 Sep 2009 18:42:47 +0200, Detlev Offenbach >> >> wrote: >> > On Dienstag, 22. September 2009, Phil Thompson wrote: >> >> On Sat, 19 Sep 2009 19:47:00 +0200, Detlev Offe