2024-12-01 18:43:49 +00:00
|
|
|
import Solitare
|
2024-11-30 18:23:45 +00:00
|
|
|
import QtQuick
|
2024-11-30 19:56:20 +00:00
|
|
|
import QtQuick.Controls
|
|
|
|
import QtQuick.Layouts
|
2024-11-30 18:23:45 +00:00
|
|
|
|
2024-11-30 19:56:20 +00:00
|
|
|
ApplicationWindow {
|
2024-11-30 18:23:45 +00:00
|
|
|
width: 640
|
|
|
|
height: 480
|
|
|
|
visible: true
|
2024-11-30 19:56:20 +00:00
|
|
|
title: qsTr("Solitare")
|
|
|
|
|
|
|
|
ScoreBar {
|
|
|
|
id: scoreBar
|
|
|
|
height: 50
|
|
|
|
|
|
|
|
score: 120
|
|
|
|
time: 500
|
|
|
|
moves: 64
|
|
|
|
}
|
2024-12-01 00:01:37 +00:00
|
|
|
|
2024-12-01 18:43:49 +00:00
|
|
|
CardModel {
|
|
|
|
anchors.centerIn: parent
|
2024-12-01 21:40:42 +00:00
|
|
|
card: gameState.drawPile[0];
|
2024-12-01 21:36:01 +00:00
|
|
|
isFaceDown: false
|
2024-12-01 00:01:37 +00:00
|
|
|
}
|
2024-11-30 18:23:45 +00:00
|
|
|
}
|