Solved How to create QList of 2 demension?
-
@Taz742 I was compering to the alternative using a struct. Also set and list are different, he didn't mention anything about unique values.
-
@aha_1980
Thank you for your resolution, I have finished history record of QWebView with 3 members!
https://github.com/sonichy/Qt_HTYBrowser// define struct History { QString stime; QString title; QString surl; }; // append QList<History> historys; History history; history.stime = strlist.at(0); history.title = strlist.at(1); history.surl = strlist.at(2); historys.append(history); // use historys.at(i).stime historys.at(i).surl historys.at(i).title