Warning, /games/kolorfill/src/qml/Winner.qml is written in an unsupported language. File is not indexed.
0001 import QtQuick 2.0 0002 import QtQuick.Layouts 1.2 0003 import QtQuick.Controls 2.0 0004 0005 ColumnLayout { 0006 property bool highscoreBeaten: false 0007 property int fillCounter: 0 0008 signal restartClicked() 0009 Label { 0010 Layout.fillWidth: true 0011 text: qsTr("You successfully solved the puzzle in %1 fills. Good luck beating that.").arg(fillCounter) 0012 wrapMode: TextArea.Wrap 0013 } 0014 Label { 0015 Layout.fillWidth: true 0016 text: qsTr("You beat the highscore") 0017 wrapMode: TextArea.Wrap 0018 visible: highscoreBeaten 0019 } 0020 Button { 0021 text: qsTr("Restart") 0022 onClicked: { 0023 restartClicked() 0024 } 0025 } 0026 }