I have image information stored in a text csv file such as:

#xPos,yPos,grayScaleValue
0,0,0.01
2,3,0.125
4,3,0.500
#etc...

I have two views split vertically. The left view is a standard QTableView and the right view is a custom ImageView (where I will be manually painting the appropriate squares). The TableView's source model is simply the csv file. I need to transform the xPos,yPos data from the source model into actual row,col of a new model which will be the source for the ImageView. So my question is whether I should write a custom ProxyModel to "transform" the source model or to just have two separate synchronized models. The separate model solution intuitively doesn't seem correct since all required data can be referenced from the source model, but I'm having mucho difficulty writing the custom ProxyModel. Specifically, the ::mapFromSource and ::MapToSource functions. Guidance on this dilemma will be much appreciated.

-Steven