- model: lastUpdatedModel
- delegate:
- Text {
- text: "Updated: "+DateLib.ISODate.format(timestamp)
- horizontalAlignment: Text.AlignRight; verticalAlignment: Text.AlignVCenter
- width: parent.width; font.pixelSize: 12; elide: Text.ElideRight;
- color: "#cccccc"
- style: Text.Raised; styleColor: "black"
+ text: stockQuotesComponent.lastUpdatedTimeStamp
+ horizontalAlignment: Text.AlignRight; verticalAlignment: Text.AlignVCenter
+ width: parent.width; font.pixelSize: 12; elide: Text.ElideRight;
+ color: "#cccccc"
+ style: Text.Raised; styleColor: "black"
+
+ Connections {
+ target: stockQuotesComponent
+ onUpdateCompleted:{
+ timeStamp.text = stockQuotesComponent.lastUpdatedTimeStamp;