mirror of
https://github.com/kossLAN/dots.git
synced 2025-11-04 22:49:50 -05:00
34 lines
750 B
QML
34 lines
750 B
QML
pragma ComponentBehavior: Bound
|
|
|
|
import QtQuick
|
|
import QtQuick.Layouts
|
|
import Quickshell.Widgets
|
|
import "../../widgets/" as Widgets
|
|
|
|
WrapperItem {
|
|
id: root
|
|
visible: false
|
|
|
|
ColumnLayout {
|
|
spacing: 10
|
|
|
|
Widgets.TabBar {
|
|
id: tabBar
|
|
model: ["headphones", "tune"]
|
|
Layout.fillWidth: true
|
|
Layout.preferredHeight: 35
|
|
}
|
|
|
|
StackLayout {
|
|
id: page
|
|
currentIndex: tabBar.currentIndex
|
|
Layout.fillWidth: true
|
|
Layout.preferredHeight: currentItem ? currentItem.implicitHeight : 0
|
|
|
|
readonly property Item currentItem: children[currentIndex]
|
|
|
|
DeviceMixer {}
|
|
ApplicationMixer {}
|
|
}
|
|
}
|
|
}
|