原创 QHash存儲二級model數據 以及遍歷

Q_INVOKABLE void setitem(int index, int index2, QVariant it) { itemlist[index][index2] = it;