Re: [PyQt] Threads with PyQt. Qt's or Python's?

2009-01-20 Thread Giovanni Bajo
On mar, 2009-01-20 at 12:08 +0800, Christoph Burgmer wrote: Am Tuesday, 20. January 2009 schrieb Giovanni Bajo: On 1/19/2009 4:36 PM, Christoph Burgmer wrote: [...] I am doing a QCoreApplication.postEvent() out of run() from a threading.Thread class without any

[PyQt] Re: Thermal Printer on QPrinter

2009-01-20 Thread Eduardo Willians
Does anyone know *anything* that could help? If you know one little thing please help. Thanks ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[PyQt] Re: Thermal Printer on QPrinter

2009-01-20 Thread Eduardo Willians
Well, I'm trying to config a thermal printer (bematech[1]) with 79mm of paper width (72mm of printing capacity) and continous feed. But is not working correctly. Here is untill I got: code app = QApplication(sys.argv) printer=QPrinter() printer.setFullPage(True)

[PyQt] Re: Licensing for PyQt?

2009-01-20 Thread Wolfgang Keller
On Fri, 16 Jan 2009 13:37:47 + (UTC) David F dael...@gmail.com wrote: After the announcement that Qt 4.5 will be released as LGPL, has it been decided if PyQt will do the same? Even if PyQt will not be made available under LGPL just like Qt, what would prevent one from implementing

[PyQt] Drawing over content widgets

2009-01-20 Thread Iliya Gogolev
I have widget(called main) which has one child - custom widget. I want to draw a rect over the custom widget from the main widget. How can I do it by easy way? When I draw the rect in paintEvent function of main widget, the rect appears under the custom widget. Thanks Best

Re: [PyQt] Re: Thermal Printer on QPrinter

2009-01-20 Thread Linos
Hello Eduardo, if you refer to normal receipt printers (like epson pos printers), i use them but after have problems using directly with qt like you are trying i configured the cups spool for the printer in raw format and create a file in the encoding configured for the printer (cp850) in

Re: [PyQt] Re: Licensing for PyQt?

2009-01-20 Thread Giovanni Bajo
On 1/20/2009 1:43 PM, Wolfgang Keller wrote: On Fri, 16 Jan 2009 13:37:47 + (UTC) David F dael...@gmail.com wrote: After the announcement that Qt 4.5 will be released as LGPL, has it been decided if PyQt will do the same? Even if PyQt will not be made available under LGPL just like Qt,

Re: [PyQt] Re: Thermal Printer on QPrinter

2009-01-20 Thread Eduardo Willians
Hello Eduardo, if you refer to normal receipt printers (like epson pos printers), i use them but after have problems using directly with qt like you are trying i configured the cups spool for the printer in raw format and create a file in the encoding configured for the printer (cp850)

Re: [PyQt] Re: Thermal Printer on QPrinter

2009-01-20 Thread Eduardo Willians
Hello Eduardo, if you refer to normal receipt printers (like epson pos printers), i use them but after have problems using directly with qt like you are trying i configured the cups spool for the printer in raw format and create a file in the encoding configured for the printer (cp850)

Re: [PyQt] QImage, transparent.

2009-01-20 Thread Grzegorz Adam Hankiewicz
El 19/01/2009, a las 21:20, Matt Smith escribió: I want to be able to draw lines on an image, without modifying the image. More specifically I want two images one with the lines and then the original image below it. Can somebody recommend some classes, preferable I would like to use 2

[PyQt] qt-webkit - change browser identification

2009-01-20 Thread piotr maliński
Can QWebView browser identification can be changed? I checked the settings class but didn't noticed anything about it. ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] qt-webkit - change browser identification

2009-01-20 Thread dboddie
On Tue Jan 20 16:07:28 GMT 2009, piotr maliński wrote: Can QWebView browser identification can be changed? I checked the settings class but didn't noticed anything about it. It seems that you'll need to derive a subclass from QWebPage and reimplement the userAgentForUrl() method:

Re: [PyQt] Re: Thermal Printer on QPrinter

2009-01-20 Thread dboddie
On Tue Jan 20 12:47:17 GMT 2009, Eduardo Willians wrote: Does anyone know *anything* that could help? If you know one little thing please help. Have you tried the (new in Qt 4.4) QPrinter.setPaperSize() method that accepts a QSizeF object? printer.setPaperSize(QSizeF(79, 72),

Re: [PyQt] QImage, transparent.

2009-01-20 Thread Matt Smith
El 19/01/2009, a las 21:20, Matt Smith escribi: I want to be able to draw lines on an image, without modifying the image. More specifically I want two images one with the lines and then the original image below it. Can somebody recommend some classes, preferable I would like to