[PyQt] Crash under MacOSX with QT 4.5 + snapshot 20090306

2009-03-08 Thread Grzegorz Adam Hankiewicz
Hello. I have been using pyqt 4.4 without problems for some time and decided to try the 4.5 version along with the pyqt snapshot. All pyqt programs I have start up and crash before showing any gui. I'm wondering if this is normal (until the snapshots become stable) or should I start repor

Re: [PyQt] QUrl paths under Windows seem weird

2009-02-06 Thread Grzegorz Adam Hankiewicz
El 06/02/2009, a las 15:19, Sergio Jovani escribió: Hi, Even it is not a Qt method, you can do it with os.path.normcase(). That function doesn't help at all, did you try it yourself? Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)] on win32 Type "help", "copyr

[PyQt] QUrl paths under Windows seem weird

2009-02-06 Thread Grzegorz Adam Hankiewicz
Hello. I'm implementing a drag and drop application where the user drags files from the explorer and drops them on a label. The label processes the files and loads them. Under MacOSX this is working all well, but under Windows I am getting paths like u"/C:/Documents and Settings/blah blah

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 QIma

Re: [PyQt] How do I get a clean empty transparent image?

2009-01-19 Thread Grzegorz Adam Hankiewicz
El 19/01/2009, a las 0:18, David Boddie escribió: How can I clean the image leaving the image transparent? Use the QImage.fill() method, passing a transparent colour: big = QImage(size, images[0].height(), QImage.Format_ARGB32) big.fill(qRgba(0,0,0,0)) Nice. Thanks for the help. ___

Re: [PyQt] An "UI update" event/signal to update the GUI on

2009-01-19 Thread Grzegorz Adam Hankiewicz
El 18/01/2009, a las 18:44, eliben escribió: Regarding my application. It's just a bunch of buttons, combo boxes and checkboxes that all disable and enable each other, with several possible configurations. The easiest approach in wxPython is to define "states" that are set by combinations

[PyQt] How do I get a clean empty transparent image?

2009-01-18 Thread Grzegorz Adam Hankiewicz
I have the following lines of code: big = QImage(size, images[0].height(), QImage.Format_ARGB32) big.save("test.png") The resulting test.png file contains random garbage, so I need to clean that out. I've tried to use a QPainter calling eraseRect(), but that removes the trans

Re: [PyQt] Deploying on Windows

2008-09-21 Thread Grzegorz Adam Hankiewicz
El 21/09/2008, a las 12:47, Filip Gruszczyński escribió: I would like to deploy my software on windows, having a nice wizard which will do everything for the user. [...]. But I have no idea, how to do this on windows. On windows the usual way is to create a binary program that doesn't requir

Re: [PyQt] newbie questions...

2008-08-13 Thread Grzegorz Adam Hankiewicz
El 13/08/2008, a las 7:43, Andreas Pakulat escribió: On 12.08.08 20:35:32, Chris Withers wrote: Andreas Pakulat wrote: - How do I package an app up that uses PyQt4 as a double-click- installer for non-technical users? Same as the first thing above: They should use the PyQt4 installer fro

[PyQt] Is it possible to show a pdf inside a widget?

2008-08-07 Thread Grzegorz Adam Hankiewicz
Hi. I'm generating PDF files with reportlab and would like to show them inside some kind of widget in QT instead of opening an external viewer. Is there any widget allowing to do this? ___ PyQt mailing listPyQt@riverbankcomputing.com http://www