Re: [PyQt] SIP tutorial/docs problems

2008-11-05 Thread piotr maliƄski
After updating SIP and PyQt4 to the latest releases I have a problem with qtermwidget bindings I've made - the module segfaults python[17838]: segfault at a0 ip 7f9f840c605c sp 7fff98af4ab8 error 4 in QtermWidget.so[7f9f840b4000+69000] recompiling widget, bindings doesn't help. PyQt4

[PyQt] Coordinates in QScrollarea

2008-11-05 Thread Georg Kaspar
Hello, I'm using a QScrollArea as CentralWidget to display an SVG-file. Now I want to interact with the drawn image and select items via MousePressEvent. Only problem is that the position of the mouse is changing when I use the scrollbar. Does anybody know a solution? I'm new to python and I hope

Re: [PyQt] PyQt, QSVGWidget background color

2008-11-05 Thread Matt Smith
Ammendium, The suggested: pal.setColor(QPalette.Window,QColor('white')) Has the desired effect on a TabWidget, so I think what is happening is that a widget doesn't paint its own background if it is in another widget. By setting widget.window(), it will go find the widget that does paint the

[PyQt] Coordinates in QScrollarea

2008-11-05 Thread georg
Hello, I'm using a QScrollArea as CentralWidget to display an SVG-file. Now I want to interact with the drawn image and select items via MousePressEvent. Only problem is that the position of the mouse is changing when I use the scrollbar. Does anybody know a solution? I'm new to python and I hope

[PyQt] Applying styles to a QApplication

2008-11-05 Thread NARCISO, Rui
Hi I'm trying to apply the QMotifStyle to my applciation but I can't import it or use it. It tells me that the name doesn't exist. I've checked the QtGui folder and both the QMotifStyle and qmotifstyle.h files are present ... I'm using Qt4. Rui The information in this e-mail is

Re: [PyQt] Applying styles to a QApplication

2008-11-05 Thread Phil Thompson
On Wed, 5 Nov 2008 16:38:01 +0100, NARCISO, Rui [EMAIL PROTECTED] wrote: Hi I'm trying to apply the QMotifStyle to my applciation but I can't import it or use it. It tells me that the name doesn't exist. I've checked the QtGui folder and both the QMotifStyle and qmotifstyle.h files

[PyQt] Simple program works on Linux, doesn't work on Mac. Why?

2008-11-05 Thread Tom Machinski
The following simple program works perfectly on Linux: it renders a single window, with a short, thick dashed line running from the top-left corner towards the center. On a Mac, it renders the window, but without the line. Why? Both Linux and Mac version run on top of Qt 4.4.1 and PyQt 4.4.2.