Files
tactileipc3d/qml/content/LabeledSlider.qml
2025-12-18 09:19:39 +08:00

21 lines
400 B
QML

import QtQuick
import QtQuick.Controls
Slider {
property string lableText: qsTr("Text")
stepSize: 1
Label {
text: parent.lableText
anchors.left: parent.left
anchors.bottom: parent.top
bottomPadding: -12
}
Label {
text: parent.value
anchors.right: parent.right
anchors.bottom: parent.top
bottomPadding: -12
}
}