Qt Code:
  1. Row {
  2. Rectangle { width: 10; height: 20; color: "red" }
  3. Repeater {
  4. model: 10
  5. Rectangle { width: 20; height: 20; radius: 10; color: "green" }
  6. }
  7. Rectangle { width: 10; height: 20; color: "blue" }
  8. }
To copy to clipboard, switch view to plain text mode 
Here I want the color of each middle rectangle to be selected from a list. i.e. Each color has to be different rather than all being green.

Do I need nested repeaters? How should I go about this?