qmlFrontend/qml/qmlFrontend/GameConfig.qml
branchqmlfrontend
changeset 10612 eb3c1a289a23
parent 10610 eadf2cea55e0
child 10616 20a2d5e6930a
equal deleted inserted replaced
10610:eadf2cea55e0 10612:eb3c1a289a23
    67                  }
    67                  }
    68             }
    68             }
    69         }
    69         }
    70     }
    70     }
    71 
    71 
    72 /*    Rectangle {
    72     HWComboBox {
    73         x: 320
    73         id: cbScript
    74         y: 16
    74         x: 50
    75         width: 100
    75         y: 256
    76         height: 256
    76         width: 256
    77         color: "#15193a"
    77         height: 64
    78         radius: 8
    78 
    79         border.width: 4
    79         model: scriptsModel
    80         border.color: "#eaea00"
    80         delegate: Rectangle {
    81         Image {
    81             height: 25
    82             id: themeImage
    82             width: 100
    83             x: 0
    83             color: "transparent"
    84             y: 0
    84 
    85             width: 64
    85             property string itemIconSource: ""
    86             height: 64
    86             property alias itemText: scriptName.text
    87             fillMode: Image.Pad
    87 
    88         }
    88             Row {
    89 */
    89                 //Image {id: themeIcon; width: height; height: parent.height; source: "image://theme/" + modelData}
       
    90                 Text {id: scriptName; text: modelData }
       
    91             }
       
    92 
       
    93             MouseArea {
       
    94                  z: 1
       
    95                  anchors.fill: parent
       
    96                  onClicked: {
       
    97                      cbScript.currentIndex = index
       
    98                      HWEngine.setScript(scriptName.text)
       
    99                  }
       
   100             }
       
   101         }
       
   102     }
       
   103 
    90 
   104 
    91     ListView {
   105     ListView {
    92         id: playingTeamsList
   106         id: playingTeamsList
    93         x: 440
   107         x: 440
    94         y: 16
   108         y: 16