69 lines
1.5 KiB
QML
69 lines
1.5 KiB
QML
import QtQuick
|
|
import QtQuick.Controls
|
|
import QtQuick.Layouts
|
|
import qs.Services
|
|
import qs.Widgets
|
|
|
|
ColumnLayout {
|
|
id: root
|
|
|
|
spacing: 0
|
|
|
|
ScrollView {
|
|
id: scrollView
|
|
|
|
Layout.fillWidth: true
|
|
Layout.fillHeight: true
|
|
padding: 16
|
|
rightPadding: 12
|
|
clip: true
|
|
ScrollBar.horizontal.policy: ScrollBar.AlwaysOff
|
|
ScrollBar.vertical.policy: ScrollBar.AsNeeded
|
|
|
|
ColumnLayout {
|
|
width: scrollView.availableWidth
|
|
spacing: 0
|
|
|
|
Item {
|
|
Layout.fillWidth: true
|
|
Layout.preferredHeight: 0
|
|
}
|
|
|
|
ColumnLayout {
|
|
spacing: 4
|
|
Layout.fillWidth: true
|
|
|
|
NText {
|
|
text: "Miscellaneous Settings"
|
|
font.pointSize: 18
|
|
font.weight: Style.fontWeightBold
|
|
color: Colors.textPrimary
|
|
Layout.bottomMargin: 8
|
|
}
|
|
|
|
// Audio Visualizer section
|
|
ColumnLayout {
|
|
spacing: 8
|
|
Layout.fillWidth: true
|
|
Layout.topMargin: 8
|
|
|
|
NText {
|
|
text: "Audio Visualizer"
|
|
font.pointSize: 13
|
|
font.weight: Style.fontWeightBold
|
|
color: Colors.textPrimary
|
|
}
|
|
|
|
NComboBox {
|
|
optionsKeys: ["radial", "bars", "wave"]
|
|
optionsLabels: ["Radial", "Bars", "Wave"]
|
|
currentKey: Settings.data.audioVisualizer.type
|
|
onSelected: function (key) {
|
|
Settings.data.audioVisualizer.type = key
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|