create icon type
This commit is contained in:
parent
ed9861e57d
commit
375ded5e81
2 changed files with 33 additions and 13 deletions
21
styled/Icon.qml
Normal file
21
styled/Icon.qml
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
import QtQuick
|
||||
import QtQuick.Effects
|
||||
import "../config/"
|
||||
|
||||
Image {
|
||||
id: root
|
||||
|
||||
property int size: 18
|
||||
property color color: Theme.palette.basecontent
|
||||
|
||||
width: size
|
||||
height: size
|
||||
|
||||
MultiEffect {
|
||||
id: effect
|
||||
source: root
|
||||
anchors.fill: root
|
||||
colorization: 1.0
|
||||
colorizationColor: color
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue