[Solved]Change QDataWidgetMapper column index? ie: 0 to 1
-
I need to change QDataWidgetMapper column index so when I setCurrentIndex(id) it matches the correct column associated id?
Can someone point me in the right direction. I would think I have to make this change at model end. After some research I am looking more towards the QModelIndex and the setRootIndex() member.
-
Okay, pretty sure this did it:
@ index(0,1);@
I have my model extended through a control class and pretty sure this sets the index to the model query.