/**************************************************************************** ** ** Copyright (C) 2013 Digia Plc ** All rights reserved. ** For any questions to Digia, please use contact form at http://qt.digia.com ** ** This file is part of the Qt Enterprise Charts Add-on. ** ** $QT_BEGIN_LICENSE$ ** Licensees holding valid Qt Enterprise licenses may use this file in ** accordance with the Qt Enterprise License Agreement provided with the ** Software or, alternatively, in accordance with the terms contained in ** a written agreement between you and Digia. ** ** If you have questions regarding the use of this file, please use ** contact form at http://qt.digia.com ** $QT_END_LICENSE$ ** ****************************************************************************/ import QtQuick 1.1 //![1] XmlListModel { // Hard-coded test data xml: "0Fittipaldi104.12" +"0Stewart106.12" +"0Hunt106.12" // ... //![1] +"1Fittipaldi115.12" +"1Stewart114.12" +"1Hunt115.12" +"2Hunt165.23" +"2Fittipaldi175.23" +"2Stewart168.23" +"3Hunt104.87" +"3Fittipaldi104.43" +"3Stewart94.83" +"4Hunt107.87" +"4Fittipaldi111.84" +"4Stewart106.84" +"5Hunt94.87" +"5Stewart92.37" +"5Fittipaldi99.37" +"6Hunt52.87" +"6Fittipaldi42.87" +"6Stewart55.87" +"7Hunt77.87" +"7Fittipaldi72.87" +"7Stewart87.87" +"8Hunt94.17" +"8Fittipaldi98.17" +"8Stewart84.17" +"9Hunt91.87" +"9Fittipaldi71.87" +"9Stewart81.87" +"10Hunt104.87" +"10Fittipaldi115.87" +"10Stewart119.87" +"11Hunt162.87" +"11Fittipaldi155.84" +"11Stewart152.84" +"12Hunt181.87" +"12Fittipaldi161.85" +"12Stewart167.85" +"13Hunt155.87" +"13Fittipaldi154.87" +"13Stewart164.87" +"14Hunt197.57" +"14Fittipaldi187.54" +"14Stewart180.54" +"15Fittipaldi216.87" +"15Hunt207.87" +"15Stewart197.87" +"16Hunt82.87" +"16Fittipaldi79.37" +"16Stewart85.37" +"17Hunt153.87" +"17Fittipaldi143.87" +"17Stewart133.87" +"18Hunt89.87" +"18Fittipaldi95.85" +"18Stewart98.85" +"19Hunt169.87" +"19Stewart167.87" +"19Fittipaldi154.87" +"" //![2] query: "/results/row" XmlRole { name: "speedTrap"; query: "speedTrap/string()" } XmlRole { name: "driver"; query: "driver/string()" } XmlRole { name: "speed"; query: "speed/string()" } } //![2]