Quote Originally Posted by aguayro View Post
But the user will not add nothing manually, all is done by the app, if i use EditRole it seems to nothing happens.
It's just for completeness and to be safe in case you want to interact with one of many other mechanisms in Qt where distinction between DisplayRole and EditRole does matter.

Ok, i'll restructure all the model thing, so all the ROM data will only managed by the model, if i understood crrectly.
That should help you pinpoint the real problem. If you make sure you only access the data through the model (emitting appropriate signals along the way), problems with model aspects working "sometimes" should go away.

thaks again, and sorry my for programming noobness. >.<
No problem. Been there, done that