[PyKDE] Re: Segmentation fault with QTabBar/QTab

2002-06-11 Thread Kaercher, Joerg
I changed sipqtQTabBar.cpp and it worked. Thanks. Yes, that's exactly what's happening. If you are happy to regenerate the C++ code then remove the /TransferBack/ from removeTab() in qtabbar.sip. Otherwise change mJ4 to mJ0 on line 2917 of sipqtQTabBar.cpp. Let me know if this solves

[PyKDE] Segmentation fault with QTabBar/QTab

2002-06-10 Thread Kaercher, Joerg
Hi, I am trying to use the QTabBar/QTab classes and get a segmentation fault when a tab is removed from the bar. I found a message in the PyKDE archive that mentions that on the C++ level QTabBar::removeTab() calls the destructor for the QTab object. Is it possible that the garbage collector in

[PyKDE] Program crash using QCanvasRectangle

2002-04-12 Thread Kaercher, Joerg
Hi, I have installed PyQt-3.0 (patch level 4; Qt 3.0.3; MS Visual Studio 6) under Windows 2K. Using the QCanvas classes I discovered that calling the brush() method in QCanvasRectangle causes the whole application to crash. Here is an example program: import qt import qtcanvas import sys

RE: [PyKDE] Problem with pyuic and QTable

2002-02-07 Thread Kaercher, Joerg
() -Original Message- From: Phil Thompson [SMTP:[EMAIL PROTECTED]] Sent: Thursday, February 07, 2002 3:19 AM To: Kaercher, Joerg Cc: [EMAIL PROTECTED] Subject: Re: [PyKDE] Problem with pyuic and QTable Kaercher, Joerg wrote: Hi, I noticed two problems with the pyuic from

[PyKDE] Problem with pyuic and QTable

2002-02-06 Thread Kaercher, Joerg
Hi, I noticed two problems with the pyuic from PyQt v3.0 (patches 1 through 4) when using a QTable widget: 1) 'from qttable import *' is missing and thus the QTable class is not found. 2) The calls to 'setNumCols()' and 'horizontalHeader().setLabel()' appear on the same line without a semicolon

[PyKDE] qInitNetworkProtocols() missing?

2001-11-15 Thread Kaercher, Joerg
Hi, I tried to use the QUrlOperator class under Qt v3.0 (using PyQt v3.0pre6 under Linux) to contact an HTTP server and couldn't get it work. The Qt documentation says that qInitNetworkProtocols() must be called before the HTTP or FTP protocol can be used. But this function doesn't seem to be