yacreader/YACReaderLibrary/qml/InfoTick6.qml
2025-05-04 13:20:01 +02:00

29 lines
486 B
QML

import QtQuick
import Qt5Compat.GraphicalEffects
Item {
property bool read
signal readChangedByUser(bool read)
MouseArea {
anchors.fill: read_compact
onClicked: {
readChangedByUser(!read);
}
}
Image {
id: read_compact
source: "info-tick.png"
}
ColorOverlay {
anchors.fill: read_compact
source: read_compact
color: read ? readTickCheckedColor : readTickUncheckedColor
}
}