Hi,

Thanks.

The problem is that I don't have a model. I have readed about view/model programming but the problem is that I did wrote my code pure C++, creating LinkedLists manually, ... Then I decided wich toolkit to use and mixed the code. By this I use QTreeWidget instead of QTreeView, because I don't know how to convert my code to a model.

I know that this lines of code are slow but it is not important.

The problem of using a model/view interface is that I really don't know how to rewrite the code struct to use it.

Thanks your help,