Hi, I have to add data from a QTable to a QHash, but I don't know how to do it.
Hi, I have to add data from a QTable to a QHash, but I don't know how to do it.
What do you mean by QTable ? may be QTableView / QTableWidget / you custom emodel ?
BTW QHash is functionally identical to a std::map / QMap, i.e a table model with just 2 columns.
Read about how to use QMap / QHash
When you know how to do it then you may do it wrong.
When you don't know how to do it then it is not that you may do it wrong but you may not do it right.
Bookmarks