c++ - Qt | How to get the orginal id from a Widget? -


a qt gui application shows data sql query in qtableview. append data table qtablewidgetitems. after double clicking item want id(primary key) of item.

since id not shown in tableview don't know how id. table should able sorted not make easier.

is there clean way reference row id without showing in table view?

thanks in advance


Comments

Popular posts from this blog

javascript - jquery or ashx not working -

opencv - DataType<cv::detail::deriv_type>::depth what is it used for -

python 3.x - Mapping specific letters onto a list of words -