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.

19 lines
351 B

4 years ago
import QtQuick 2.0
import QtQuick.Controls 2.15
Item {
4 years ago
id: container
x: 64
y: 64
4 years ago
property bool isClicked : false
Image {
id: buttonIcon
width: 64
anchors.centerIn: parent
fillMode: Image.PreserveAspectFit
source: isClicked ? "Resources/buuf-pause.png" : "Resources/buuf-play.png"
4 years ago
}
}