I am trying to customize a standard slider that I am using. I am not trying to do much I just want to increase my track width and change the handle to a rectangle. I looked at the documentation but I am having a trouble understanding it. In order to customize the track the documentation has shown the below code
track: Rectangle {
x: control.leftPadding + (horizontal ? 0 : (control.availableWidth - width) / 2)
y: control.topPadding + (horizontal ? (control.availableHeight - height) / 2 : 0)
implicitWidth: horizontal ? 200 : 6
implicitHeight: horizontal ? 6 : 200
width: horizontal ? control.availableWidth : implicitWidth
height: horizontal ? implicitHeight : control.availableHeight
radius: 3
border.color: "#353637"
color: "#ffffff"
scale: horizontal && control.mirrored ? -1 : 1
readonly property bool horizontal: control.orientation === Qt.Horizontal
}
what is control
over here?
I am using Qt5.6 and I am using Qt controls lab. Can someone just point me in the right direction ?