[PyKDE] Emit a signal from a QCheckTableItem

Phil Thompson phil at riverbankcomputing.co.uk
Fri Apr 28 07:27:27 BST 2006


On Friday 28 April 2006 2:51 am, Daryl Dusheiko wrote:
>  Thanks for your quick reply. I thought that it was possible to have
> multiple inheritance in Python.

It is, and I didn't say it wasn't. I said you can't inherit from more than one 
*wrapped class* at a time.

>  My original problem was to have a checkbox item in a table cell which
> could emit a signal when clicked. What I've done is to make a QObject data
> member as part of my CheckBoxItem class. Is this the only way to get this
> class to emit a signal when clicked?

I don't know about the only way, but it is certainly a common way.

Phil




More information about the PyQt mailing list