TestItemList.qml 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. /**
  2. * Copyright © 2010 Digia Plc
  3. * Copyright © 2010 Nokia Corporation
  4. *
  5. * All rights reserved.
  6. *
  7. * Nokia and Nokia Connecting People are registered trademarks of
  8. * Nokia Corporation.
  9. * Java and all Java-based marks are trademarks or registered
  10. * trademarks of
  11. * Sun Microsystems, Inc. Other product and company names
  12. * mentioned herein may be
  13. * trademarks or trade names of their respective owners.
  14. *
  15. *
  16. * Subject to the conditions below, you may, without charge:
  17. *
  18. * · Use, copy, modify and/or merge copies of this software and
  19. * associated documentation files (the "Software")
  20. *
  21. * · Publish, distribute, sub-licence and/or sell new software
  22. * derived from or incorporating the Software.
  23. *
  24. *
  25. * This file, unmodified, shall be included with all copies or
  26. * substantial portions
  27. * of the Software that are distributed in source code form.
  28. *
  29. * The Software cannot constitute the primary value of any new
  30. * software derived
  31. * from or incorporating the Software.
  32. *
  33. * Any person dealing with the Software shall not misrepresent
  34. * the source of the Software.
  35. *
  36. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
  37. * KIND, EXPRESS OR IMPLIED,
  38. * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  39. * MERCHANTABILITY, FITNESS FOR A
  40. * PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  41. * AUTHORS OR COPYRIGHT
  42. * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
  43. * WHETHER IN AN ACTION
  44. * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
  45. * CONNECTION WITH THE
  46. * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  47. */
  48. import Qt 4.7
  49. ListModel {
  50. id: model
  51. ListElement {
  52. label: "Saab"
  53. value: "Saab"
  54. selected: false
  55. }
  56. ListElement {
  57. label: "Volvo"
  58. value: "Volvo"
  59. selected: false
  60. }
  61. ListElement {
  62. label: "Mercedes"
  63. value: "Mercedes"
  64. selected: true
  65. }
  66. ListElement {
  67. label: "Opel"
  68. value: "Opel"
  69. selected: false
  70. }
  71. ListElement {
  72. label: "Ford"
  73. value: "Ford"
  74. selected: true
  75. }
  76. ListElement {
  77. label: "Fiat"
  78. value: "Fiat"
  79. selected: false
  80. }
  81. ListElement {
  82. label: "Ferrari"
  83. value: "Ferrari"
  84. selected: false
  85. }
  86. ListElement {
  87. label: "Pagani"
  88. value: "Pagani"
  89. selected: false
  90. }
  91. ListElement {
  92. label: "Bentley"
  93. value: "Bentley"
  94. selected: false
  95. }
  96. }