@wysota:
I have been reading up on QDataWidgetMapper and it seems like it will work in my situation. I have a question though.
In the documentation it says:
Every time the current index changes, each widget is updated with data from the model via the property specified when its mapping was made.
What changes the current index? I am assuming that everytime I call setData in the model, the currentindex changes. Just wanted to verify.

Thanks for your help.

csmithmaui