You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

29 lines
575 B

import QtQuick 2.0
import QtGraphicalEffects 1.13
import "qrc:/const"
Item {
property var image: ""
property var colorMode: 0
property var thickness: Const.macroLightThickness
implicitWidth: Const.lightButton
implicitHeight: Const.lightButton
LightRing {
id: lightRing
width: parent.width
height: parent.height
thickness: parent.thickness
colorMode: parent.colorMode
}
KnobImage {
id: knobImage
anchors.centerIn: lightRing
width: parent.width - 2 * lightRing.thickness
height: parent.height - 2 * lightRing.thickness
image: parent.image
}
}