themed icons in tray, misc tweaks
This commit is contained in:
parent
09d901bf5a
commit
a67cdbd66f
5 changed files with 21 additions and 3 deletions
16
modules/ThemedIcon.qml
Normal file
16
modules/ThemedIcon.qml
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
import QtQuick
|
||||
import QtQuick.Effects
|
||||
|
||||
Image {
|
||||
id: root
|
||||
|
||||
required property color tint
|
||||
|
||||
fillMode: Image.PreserveAspectFit
|
||||
|
||||
layer.enabled: true
|
||||
layer.effect: MultiEffect {
|
||||
colorization: 1.0
|
||||
colorizationColor: root.tint
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue