Re: [PyQt] Multiple inheritance with item views

2010-02-22 Thread Andreas Pakulat
On 22.02.10 21:09:28, Jugdish wrote: > The reason I have BaseView inheriting from QAbstractItemView is because > inside it I make calls like: > > self.setItemDelegate(...) > self.setDragEnabled(...) > self.setEditTriggers(...) > > and so on. These are all things that are common to both > MyTreeVi

Re: [PyQt] Multiple inheritance with item views

2010-02-22 Thread Jugdish
The reason I have BaseView inheriting from QAbstractItemView is because inside it I make calls like: self.setItemDelegate(...) self.setDragEnabled(...) self.setEditTriggers(...) and so on. These are all things that are common to both MyTreeView/MyTableView, and obviously wouldn't work if BaseView

Re: [PyQt] Multiple inheritance with item views

2010-02-22 Thread Andreas Pakulat
On 22.02.10 19:45:31, Jugdish wrote: > I have my own subclasses of QTreeView and QTableView, called MyTableView and > MyTreeView. There is a lot of code that is common between my 2 classes, so > to avoid having tons of duplicate code, I was thinking of having a base > class derived from QAbstractIt

Re: [PyQt] configure.py does not add qpy release folder to Makefile when compiling w/debug symbols

2010-02-22 Thread Phil Thompson
On Sun, 24 Jan 2010 19:50:03 -0500, wrote: > If you run configure.py with -u option (debug symbols), it will only add > the debug folders the Makefiles like: > "/LIBPATH:C:\PyQt-win-gpl-4.7\qpy\QtCore\debug", but you are actually > compiling both debug and release builds at the same time when you

[PyQt] Multiple inheritance with item views

2010-02-22 Thread Jugdish
I have my own subclasses of QTreeView and QTableView, called MyTableView and MyTreeView. There is a lot of code that is common between my 2 classes, so to avoid having tons of duplicate code, I was thinking of having a base class derived from QAbstractItemView that they both derive from. This resul

Re: [PyQt] eric crashes in QX11WindowSurface dtor

2010-02-22 Thread detlev
On Montag, 22. Februar 2010, Phil Thompson wrote: > On Fri, 19 Feb 2010 10:00:55 +0100, "Hans-Peter Jansen" > > wrote: > > Hi Phil, > > > > I suffer from a 100% reproducible crash on eric shutdown: > > > > [when catched with gdb directly:] > > Program received signal SIGSEGV, Segmentation fault.

Re: [PyQt] eric crashes in QX11WindowSurface dtor

2010-02-22 Thread Phil Thompson
On Fri, 19 Feb 2010 10:00:55 +0100, "Hans-Peter Jansen" wrote: > Hi Phil, > > I suffer from a 100% reproducible crash on eric shutdown: > > [when catched with gdb directly:] > Program received signal SIGSEGV, Segmentation fault. > 0xb65eab22 in ~QX11WindowSurface (this=0xa5d1ba8) at > painting/q

Re: [PyQt] A question regarding SIP

2010-02-22 Thread Phil Thompson
On Mon, 22 Feb 2010 07:48:01 +0530, Ravi kumar wrote: > Hello > > I am learning SIP, and have a small question regarding it. Let me > explain the situation : > > I have a small test library written in C++. It is made up of two > files, test.hpp and test.cpp > with declarations and implementation

Re: [PyQt] Sip wrapping error

2010-02-22 Thread Sébastien Petitdemange
Phil Thompson wrote: > On Fri, 19 Feb 2010 11:24:40 +0100, Sébastien Petitdemange > wrote: >> Sébastien Petitdemange wrote: >>> Phil Thompson wrote: On Fri, 19 Feb 2010 10:42:51 +0100, Sébastien Petitdemange wrote: > Hi Phil, > > We use the latest sip (4.10) to wrap your C++