summaryrefslogtreecommitdiff
path: root/SDL_Core/src/components/qt_hmi/References/Look/Widgets/TouchButton2.qml
blob: 2f3ca939a283abf00eb5cf501315da8eadce3165 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import QtQuick 2.0
import com.ford.hmiframework 1.0
import QtGraphicalEffects 1.0
import "../Widgets"



Item {
    width: 160
    height: 45

    RectangularGlow {
        id: effect
        anchors.fill: rect
        glowRadius: 10
        spread: 0.2
        color: "#1d81d5"
        cornerRadius: rect.radius + glowRadius
    }

    Rectangle {
        id: rect
        color: "black"
        anchors.centerIn: parent
        width: 160
        height: 45
        radius: 25
        border.color: "#1d81d5"
    }
}