[PyQt] problem with model/view

Vicent Mas uvep at ono.com
Fri Jun 27 09:22:13 BST 2008


Hi,

the attached scripts are intended to do the same thing: display a widget that 
contains a QTreeView with two columns and one row. The script right.py works 
just fine. However the other doesn't work and I cannot understand the reason. 
Probably I'm doing something very stupid, but I'm unable to find out what is 
it. Could someone help me, please?

Thanks in advance.

-- 
::

	Share what you know, learn what you don't

-------------- next part --------------
A non-text attachment was scrubbed...
Name: wrong.py
Type: application/x-python
Size: 626 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20080627/7e254f6d/wrong.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: right.py
Type: application/x-python
Size: 507 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20080627/7e254f6d/right.bin


More information about the PyQt mailing list