Hello,
I am trying really hard to get some data from item view classes.I have tried to do it with QTreeView or QTreeWidget unsuccesfully so i need your help ! WIth QtreeView i know it has to do something with selectionmodel() and Qtreewidget has selectedItems().

I want to setup this 2 dimensional table at which the user can select a row. After the selection i want to get this selection and read lets say the 5th column which contains an ID that i need.

Things is i have totally failed to do that !
Any idea ?
I am open to other implementations if you think that can be done differently ! Even though i would like to have horizontal headers !

Thank you.