import QtQuick 2.10 import QtQuick.Window 2.10 import QtQuick.Controls 2.2 Window { id: window visible: true width: 640 height: 480 title: qsTr("Hello World") Slider { id: mySlider x: 20 y: 59 z: 1 from: 0.0 to: 300.0 value: 60.0 anchors.horizontalCenter: parent.horizontalCenter } }