Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 9b0c6736 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Move the camera selection into the configuration view

Summary: BUG: 402956

Reviewers: ngraham

Differential Revision: https://phabricator.kde.org/D18924
parent 21b396ea
......@@ -269,6 +269,21 @@ StackView {
}
}
}
Item {
Kirigami.FormData.isSection: true
Kirigami.FormData.label: i18n("Cameras")
}
ComboBox {
Layout.fillWidth: parent
model: devicesModel
textRole: "display"
enabled: count>1
onAccepted: {
devicesModel.playingDeviceUdi = udi
}
}
}
// Otherwise the back button might not always be right on the bottom
......
......@@ -199,24 +199,6 @@ Kirigami.ApplicationWindow
VideoItem {
surface: videoSurface1
anchors.fill: parent
ColumnLayout {
spacing: Kirigami.Units.smallSpacing
anchors.margins: Kirigami.Units.smallSpacing
anchors.top: parent.top
anchors.left: parent.left
visible: devicesModel.count>1
Repeater {
model: devicesModel
delegate: Button {
width: 30
iconName: "camera-web"
tooltip: display
onClicked: devicesModel.playingDeviceUdi = udi
}
}
}
}
Text {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment