solitare/Main.qml

27 lines
415 B
QML

import Solitare
import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
ApplicationWindow {
width: 640
height: 480
visible: true
title: qsTr("Solitare")
ScoreBar {
id: scoreBar
height: 50
score: 120
time: 500
moves: 64
}
CardModel {
anchors.centerIn: parent
card: gameState.drawPile[0];
isFaceDown: false
}
}