^NyAw^
22nd June 2009, 17:11
Hi,
I've created an own model that is displayed on a QTreeView. Now I want to use a delegate to let the data be modified.
The application shows the tree perfectly until I set the delegate to the view. Then nothing is showed(no items into the tree).
To create my own delegate I used the "spinboxdelegate" delegate class with some modeifications. I've inserted breakpoints on all functions on the delegate class but they are never called so I don't know where is the problem.
Anoyone had the same problem?
Thanks,
I've created an own model that is displayed on a QTreeView. Now I want to use a delegate to let the data be modified.
The application shows the tree perfectly until I set the delegate to the view. Then nothing is showed(no items into the tree).
To create my own delegate I used the "spinboxdelegate" delegate class with some modeifications. I've inserted breakpoints on all functions on the delegate class but they are never called so I don't know where is the problem.
Anoyone had the same problem?
Thanks,