SailTuner/qml/Led.qml

21 lines
279 B
QML
Raw Normal View History

2016-01-02 18:36:55 +03:00
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"
}
}
}