Re: [PyKDE] Printing using QPrinter

2006-03-06 Thread Fabian Steiner
Hello! David Boddie wrote: body is the border of the whole page, the other objects should be placed in it, but I don't know how to position the other elements. Of course, I can pass the appropriate x, y values to QPainter.drawText(), but it means a lot of work to get them for about 25 elements.

Re: [PyKDE] Printing using QPrinter

2006-03-03 Thread David Boddie
On Wed, 01 Mar 2006 23:49:12, Fabian Steiner wrote: I am currently working on an application where the user is able to create new worksheets and to delete existing ones. All of these worksheets have the same structure, only some values should be changed. [...] The values are stored in a

Re: [PyKDE] Printing using QPrinter

2006-03-02 Thread Kaleb Pederson
As long as it is going to be fairly simple, you could use QSimpleRichText (alsuming Qt3). It allows for basic html-like styling and tables. It's kind of picky and the html support isn't well documented (well, there are a number of things that are available though not documented). You can