FluentUI/Gallery/res/qml/page/T_Dial.qml
yxdy a44db97aa3
Some checks failed
Gallery App Build / Windows (push) Has been cancelled
Gallery App Build / macOS (push) Has been cancelled
Gallery App Build / Ubuntu (push) Has been cancelled
init
2025-02-12 10:31:20 +08:00

38 lines
764 B
QML

import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
import FluentUI.Controls
import Gallery
ScrollablePage {
title: qsTr("Dial")
CardHighlight{
Layout.fillWidth: true
showDisabled: false
codeSnippet:
`import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
import FluentUI.Controls
Column {
spacing: 40
width: parent.width
Label {
width: parent.width
wrapMode: Label.Wrap
text: qsTr("The Dial is similar to a traditional dial knob that is found on devices such as "
+ "stereos or industrial equipment. It allows the user to specify a value within a range.")
}
Dial {
startAngle: 0
endAngle: 360
wrap: true
}
}
`}
}