1

Topic: The list of types on model

Whether there is a ready method to receive  types qtreeview on model qabstractitemmodel? Or the unique active type and null if is not present active. What for it is necessary: I write a plug-in for qt creator, there in navigation area there can be some trees of my type. Control of these trees (for example to add an element after leaking) is carried out outside, for example from the menu. It is necessary to find a type, active at present (. at which the active element is highlit dark blue instead of gray).

2

Re: The list of types on model

Hello, x-code, you wrote: whether XC> There is a ready method to receive  types qtreeview on model qabstractitemmodel? Or the unique active type and null if is not present active. The model can live and without view. Here  binding -  uses model. The model in turn knows nothing about that, in   it is used. XC> what for it is necessary: I write a plug-in for qt creator, there in navigation area there can be some trees of my type. Control of these trees (for example to add an element after leaking) is carried out outside, for example from the menu. Then for everyone  you should get the model. If the model the general you add in it an element and it appears at once in all . XC> It is necessary to find a type, active at present (. at which the active element is highlit dark blue instead of gray). To remember all  and in the fullness of time to check in focus it or not.