Store three values in a container
-
Hi
Many ways to do so. :)struct MyItem{
QIcon ico;
MyClass *Class;
};http://doc.qt.io/qt-5/qmap.html
QMap<QString, MyItem > MyLookupList;Each string, will then give u struct ( with the 2 data in)
-
Well that happens :)