Hello, wich is the best way to get all the column data of a QTableView?

I know that it can be make visiting all elements one to one, but there's no other method?

Thanks