05-07-2013 09:55 AM
Sorry if this is already covered somewhere.
I currently have an app with a list view in my main.qml. I have set a context property for my app class from c++ to be "app" in my main.qml. My list is using a custom list item that is defined in a seperate qml file. The custom list item has a context menu. In this context menu I want to call Q_INVOKABLE functions that are part of my main app class in C++. What is the best way to be able to do this? Should I just set the context property on my custom list item qml file like I do with my main.qml or is there a better way?
Solved! Go to Solution.
05-07-2013 10:04 AM