import "." as Skin import QtQuick 2.12 import QtQuick.Controls 2.12 import QtQuick.Layouts 1.12 import "Theme" Row { id: root property int unitNumber // required property string group: unitNumber === 1 ? "[Microphone]" : "[Microphone" + unitNumber + "]" spacing: 5 Skin.VuMeter { id: vuMeter group: root.group key: "VuMeter" width: 4 height: parent.height } Rectangle { id: gainKnobFrame width: 52 height: width color: Theme.knobBackgroundColor radius: 5 Skin.ControlKnob { id: gainKnob anchors.centerIn: parent width: 48 height: width arcStart: Knob.ArcStart.Minimum group: root.group key: "pregain" color: Theme.gainKnobColor } } Column { SectionText { width: parent.width height: root.height / 2 text: "MIC " + root.unitNumber } Skin.ControlButton { id: pflButton group: root.group key: "pfl" text: "PFL" activeColor: Theme.pflActiveButtonColor toggleable: true } } Skin.EmbeddedBackground { id: embedded height: parent.height width: 56 Skin.InfoBarButton { id: talkButton anchors.left: parent.left anchors.right: parent.right anchors.top: parent.top anchors.bottom: parent.verticalCenter group: root.group key: "talkover" activeColor: Theme.deckActiveColor foreground: Skin.EmbeddedText { anchors.centerIn: parent text: "TALK" } } Skin.InfoBarButton { id: fx1Button anchors.left: parent.left anchors.right: parent.horizontalCenter anchors.top: parent.verticalCenter anchors.bottom: parent.bottom group: "[EffectRack1_EffectUnit1]" key: "group_" + root.group + "_enable" activeColor: Theme.deckActiveColor foreground: Skin.EmbeddedText { anchors.centerIn: parent text: "FX1" } } Skin.InfoBarButton { group: "[EffectRack1_EffectUnit2]" anchors.left: parent.horizontalCenter anchors.right: parent.right anchors.top: parent.verticalCenter anchors.bottom: parent.bottom key: "group_" + root.group + "_enable" activeColor: Theme.deckActiveColor foreground: Skin.EmbeddedText { anchors.centerIn: parent text: "FX2" } } } }