QMap 遍历
QMap遍历
bool isExist = false; QList<int> list_keys = near_line_id2.keys(); for (int k = 0; k < list_keys.size();k++) { int indexKey = list_keys.at(k); int indexValue = near_line_id2.value(indexKey); qDebug() << indexKey << " " << indexValue; }
QMap((1, 7)(3, 4)) 1 7 3 4
#####################
QQ 3087438119