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
357 B
19 lines
357 B
4 years ago
|
import QtQuick 2.0
|
||
|
import QtQuick.Controls 2.15
|
||
|
|
||
4 years ago
|
Item {
|
||
4 years ago
|
id: container
|
||
4 years ago
|
x: 64
|
||
|
y: 64
|
||
4 years ago
|
property bool isClicked : false
|
||
|
|
||
|
Image {
|
||
|
id: buttonIcon
|
||
|
width: 64
|
||
|
anchors.centerIn: parent
|
||
|
fillMode: Image.PreserveAspectFit
|
||
4 years ago
|
source: isClicked ? "../Resources/buuf-pause.png" : "../Resources/buuf-play.png"
|
||
4 years ago
|
|
||
|
}
|
||
|
}
|