[PyQt] Re: drawComplexControl

2007-12-23 Thread Attila Olah
Still couldn't get it working... Any tutorials on this? Unfortunately I'm unable tu buy the book for now, maybe next year... ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[PyQt] Fwd: drawComplexControl

2007-12-22 Thread Attila Olah
Hi everyone, How do I draw e.g. a tool box in a QTreeView? I tried override the model's delegate's paint() function, but it didn't work. I'd like to do something like this: http://doc.trolltech.com/4.3/qstyle.html#drawComplexControl in PyQt4. Is it the right approach? Regards, aatiis