2024-12-04 18:26:16 +00:00
|
|
|
import QtQuick
|
2024-12-05 00:22:18 +00:00
|
|
|
import Solitare
|
2024-12-04 18:26:16 +00:00
|
|
|
|
|
|
|
Row {
|
|
|
|
spacing: 15
|
|
|
|
|
|
|
|
Repeater {
|
|
|
|
model: 4 // Each of the 4 suits
|
|
|
|
CardModel {
|
2024-12-05 00:22:18 +00:00
|
|
|
required property int index // passed from repeater
|
2024-12-04 18:26:16 +00:00
|
|
|
card: GameState.foundation[index].length > 0 ? GameState.foundation[index][0] : null
|
|
|
|
isFaceDown: false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|