SailTuner/qml/Led.qml
2016-01-02 16:36:55 +01:00

20 lines
279 B
QML

import QtQuick 2.0
import QtGraphicalEffects 1.0
/**
* Led: a circle color
*/
RadialGradient {
property color led_color: "red"
gradient: Gradient {
GradientStop {
position: 0.0
color: led_color
}
GradientStop {
position: 0.5
color: "transparent"
}
}
}