Good evening Günther,
I updated my project as I’m on a deadline and couldn’t afford the wait. Using the message example in VPlay for reference I had to place the navigation stack into a wrapper page and create the pages as separate pages before it would work. Previously I was using the .push() and .pop() methods. Once I put it in the wrapper it starter working. I also moved to the new methods you mentioned.
The dialogs now all show “Invalid Property” warning on everything that isn’t the id. This still function perfectly fine, but it certainly makes a mess of the code readability.
While I’ve got your attention, the update seems to have thrown a wrench in my listModel as well. I know this isn’t specific to VPlay and it’s probably part of the upgrade to QT 5.6, but it’s throwing “Unknown Reference” errors when I try to display the information in a delegate. I’m able to print the model data with a
listModel.get(0).temp
And it prints the information, but when I call it within the component delegate, it says “temp is not defined.”
Text {
text: (kilnstatus =="true"|| kilnstatus=="Execute") ? temp:"N/A";
anchors.right: parent.right
anchors.rightMargin: parent.width*.01
font.pointSize: 26
font.bold: true
}
Here is the call in the delegate and below is how I set the listmodel temp value:
listModel.append({"name" : network.list[i][0], "status" : network.list[i][4], "connection" : network.list[i][3], "temp" : network.list[i][2], "schedule" : network.list[i][5], "step" : network.list[i][6], "holdtime" : network.list[i][9], "elapsedtime" : network.list[i][10], "ramprate" : network.list[i][7], "setpoint" : network.list[i][8], "uid": network.list[i][1]});
I can access every other property I defined in this statement without a problem. Any ideas?
Thank you,
Jared