Re: [PyQt] problem with abstract classes

2007-08-14 Thread Diez B. Roggisch
Giovanni Bajo schrieb: On 12/08/2007 16.20, Diez B. Roggisch wrote: Any suggestions? Am I doing something fundamentally wrong wrt implementation of C++-interfaces? Please post a minimal, complete example that reproduces your problem. Otherwise, it's a little hard to help you... I know...

Re: [PyQt] problem with abstract classes

2007-08-14 Thread Phil Thompson
On Tuesday 14 August 2007 8:47 am, Diez B. Roggisch wrote: Giovanni Bajo schrieb: On 12/08/2007 16.20, Diez B. Roggisch wrote: Any suggestions? Am I doing something fundamentally wrong wrt implementation of C++-interfaces? Please post a minimal, complete example that reproduces your

[PyQt] Couldn't compile PyQt 3.17.2

2007-08-14 Thread midudek1
Hi ! :) Unfortunately i couldn't compile PyQt. The error says Generating the C++ source for the qtxml module... Creating the Makefile for the qtxml module... Creating top level Makefile... Creating pyuic Makefile... Creating pylupdate Makefile... Creating pyqtconfig.py... make[1]: Entering

Re: [PyQt] Couldn't compile PyQt 3.17.2

2007-08-14 Thread Phil Thompson
On Tuesday 14 August 2007 9:46 am, [EMAIL PROTECTED] wrote: Hi ! :) Unfortunately i couldn't compile PyQt. The error says Generating the C++ source for the qtxml module... Creating the Makefile for the qtxml module... Creating top level Makefile... Creating pyuic Makefile... Creating

[PyQt] Porting qt3 .ui files to qt4

2007-08-14 Thread Jeremy Moskovich
Hi, I'm trying to port a fairly large application built with qt3 and PyQT to PyQT under qt4. Does anyone have any tips on how to port over the .ui files? qt4's designer happily imports them, although it converts some of the widgets to qt3support widgets which PyQT doesn't appear to

Re: [PyQt] Porting qt3 .ui files to qt4

2007-08-14 Thread David Boddie
On Tue Aug 14 13:40:18 BST 2007, Jeremy Moskovich wrote: I'm trying to port a fairly large application built with qt3 and PyQT to PyQT under qt4. Does anyone have any tips on how to port over the .ui files? qt4's designer happily imports them, although it converts some of the

Re: [PyQt] problem with abstract classes

2007-08-14 Thread Giovanni Bajo
On 14/08/2007 9.47, Diez B. Roggisch wrote: Essentially all I try to do is to create a interface in C++ (IEventReceiver), a subclass (PyIEventReceiver) to overload the pure virtual methods of the base-interface so it can be overloaded in python and a test-class that invokes the OnEvent-method

[PyQt] segfault when using QSortFilterProxyModel(or maybe somewhere else)

2007-08-14 Thread alexander krohn
hi. i get a segfault with the attached stack-trace. the first 5 positions are a segv-handler, the segv happens at #6. there is an adress of 0x241 appearing as this, causing the segv. is this an error in some sip-related manner? any other ideas? cheers, alexander -- (sorry for) the

[PyQt] sporadic error

2007-08-14 Thread Heinz A. Preisig
Title: business Hi, I got a sporadic error message NotImplementedError: QGraphicsItem.paint() is abstract and must be overridden The error is not reliably reproducible at the same location or the same sequence of operations. Anybody any suggestions on what is happening or what one has to

Re: [PyQt] segfault when using QSortFilterProxyModel(or maybe somewhere else)

2007-08-14 Thread alexander krohn
sorry, i forgot ... it's qt 4.3, pyqt 4.3 and sip 4.7 cheers, alexander -- e-dict GmbH Co. KG Alter Steinweg 3 D-20459 Hamburg/Germany Handelsniederlassungsort: Hamburg/Deutschland Registergericht: Amtsgericht Hamburg Handelsregistereintrags-Nr.:

[PyQt] flag enabling editing in QTableWidget

2007-08-14 Thread Heinz A. Preisig
Title: business Hi, some time ago I posted a problem on what flags need to be set when enabling editing in QTableWidgets. I found a setting that works... QtCore.Qt.ItemIsEditable | QtCore.Qt.ItemIsSelectable | QtCore.Qt.ItemIsEnabled Cheers, Heinz Example attached --

[PyQt] KDE settings dialogs

2007-08-14 Thread Niklas Nilsson
Hi I'm trying to get started making my first PyQT/PyKDE application, but I'm having some troubles figuring out how to create a settings dialog like for example the one Konqueror and a lot of other KDE applications have. I got as far as subclassing KConfigSkeleton, but get a message saying

[PyQt] Python update_refs assertion with updated sip and PyQt

2007-08-14 Thread Claus, Richard
Hi All, One of our Qt 4 applications that has been running fine for quite some time suddenly started intermittantly producing the following crash after we upgraded sip and PyQt: python: Modules/gcmodule.c:261: update_refs: Assertion `gc-gc.gc_refs != 0' failed. Abort Versions under which it

Re: [PyQt] Python update_refs assertion with updated sip and PyQt

2007-08-14 Thread Phil Thompson
On Tuesday 14 August 2007 9:16 pm, Claus, Richard wrote: Hi All, One of our Qt 4 applications that has been running fine for quite some time suddenly started intermittantly producing the following crash after we upgraded sip and PyQt: python: Modules/gcmodule.c:261: update_refs: Assertion

[PyQt] Embedding Qt Designer

2007-08-14 Thread Albert Cervera Areny
Hi, I've seen in the docs that it's possible to write plugins for Qt Designer in Python, but is it possible to embed some of the components such as form designer in a Python Application? If so, are there any examples out there? Many thanks in advance!

[PyQt] Some problems with styleSheets in QT4.3.1 and PyQt4.3

2007-08-14 Thread Gustavo A. Dí­az
Hi guys! It seems i've found a "bug"? in PyQt4.3 which for sure is cause i am using QT4.3.1. This is the situation: in one desktop i have QT4.3 and PyQt4.3, so here the screenshot of my app which i styled using stylesheet: http://opencoffee.lnxteam.org/downloads/pub/pics/PyQt4.3-QT4.3.png