Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

Transition animations with Qt Quick Controls

$
0
0
Hi, When creating Qt Quick controls with custom style, is there a way to define transition animations for the elements given as visuals for the style? For instance add easing on the x-axis movement of the handle in the following piece of code. Slider {         anchors.centerIn: parent         style: SliderStyle {             groove: Rectangle {                 implicitWidth: 200                 implicitHeight: 8                 color: "gray"                 radius: 8             }             handle: Rectangle {                 anchors.centerIn: parent                 color: control.pressed ? "white" : "lightgray"                 border.color: "gray"                 border.width: 2                 width: 34                 height: 34                 radius: 12             }         }     }

Viewing all articles
Browse latest Browse all 4972

Trending Articles