You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
425 B
22 lines
425 B
import QtQuick 2.0
|
|
import QtQuick.Controls 2.15
|
|
|
|
Item {
|
|
id: container
|
|
// x: 141
|
|
// y: 367
|
|
x: 64
|
|
y: 64
|
|
property bool isClicked : false
|
|
// color: isClicked ? "#a98415" : "#f9c620"
|
|
|
|
|
|
Image {
|
|
id: buttonIcon
|
|
width: 64
|
|
anchors.centerIn: parent
|
|
fillMode: Image.PreserveAspectFit
|
|
source: isClicked ? "Resources/buuf-pause.png" : "Resources/buuf-play.png"
|
|
|
|
}
|
|
}
|
|
|