Warning, /games/kolorfill/src/qml/HighScoreView.qml is written in an unsupported language. File is not indexed.

0001 import QtQuick.Layouts 1.2
0002 import QtQuick.Controls 2.0
0003 import QtQuick 2.0
0004 
0005 ColumnLayout {
0006     property alias allHighscores: highscoreView.model
0007     ListView {
0008         Layout.fillWidth: true
0009         id: highscoreView
0010         height: 200
0011         header: Row {
0012             Label {
0013                 text: qsTr("Board size: ")
0014                 width: highscoreView.width / 2
0015             }
0016             Label {
0017                 text: qsTr("Fills: ")
0018                 width: highscoreView.width / 2
0019             }
0020         }
0021         delegate: Row {
0022             Label {
0023                 text: modelData.size
0024                 width: highscoreView.width / 2
0025             }
0026             Label {
0027                 text: modelData.highscore
0028                 width: highscoreView.width / 2
0029             }
0030         }
0031     }
0032 }