mirror of
https://github.com/HenkKalkwater/sddm-nx
synced 2024-11-16 08:25:18 +00:00
24 lines
485 B
QML
24 lines
485 B
QML
|
import QtQuick 2.6
|
||
|
import QtGraphicalEffects 1.6
|
||
|
|
||
|
Item {
|
||
|
property alias source: image.source
|
||
|
property alias color: colorOverlay.color
|
||
|
|
||
|
// I thought this should be standard
|
||
|
implicitWidth: image.implicitWidth
|
||
|
implicitHeight: image.implicitHeight
|
||
|
Image {
|
||
|
id: image
|
||
|
visible: false
|
||
|
anchors.fill: parent
|
||
|
smooth: true
|
||
|
}
|
||
|
|
||
|
ColorOverlay {
|
||
|
id: colorOverlay
|
||
|
anchors.fill: parent
|
||
|
source: image
|
||
|
}
|
||
|
}
|