Expose a List or Array of QDeclarativePropertyMap
-
Hi Everybody,
I want to expose a list of QDeclarativePropertyMaps.
The exposing of QDeclarativePropertyMap works fine, but I need a container which holds the different QDeclarativePropertyMaps and can be accessed by index from QML and C++.I tried this:
@ QDeclarativePropertyMap map;
map.insert("mode", 0x00);
map.insert("effect", 0x00);
map.insert("effectMax",0x01);QList<QDeclarativePropertyMap> list; list.append(map);@
Thanks!
-
Have a look at the solution posted "here":http://qt-project.org/forums/viewthread/26191/P15.