mirror of
https://github.com/YACReader/yacreader
synced 2025-07-14 02:54:46 -04:00
Headless server: simplify system config logger
This commit is contained in:
29
YACReaderLibrary/qml/InfoTick.qml
Normal file
29
YACReaderLibrary/qml/InfoTick.qml
Normal file
@ -0,0 +1,29 @@
|
||||
import QtQuick 2.6
|
||||
|
||||
import QtGraphicalEffects 1.0
|
||||
|
||||
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
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user