linphone-desktop/linphone-app/ui/views/App/Settings/Dialogs/SettingsVideoPreview.qml
Julien Wadel ca7278d51f Feature: Screen Sharing
Avoid to use SCShareableContent API because of crash on release.
2024-03-01 15:53:24 +01:00

44 lines
819 B
QML

import QtQuick 2.7
import QtGraphicalEffects 1.12
import Common 1.0
import Linphone 1.0
import DesktopTools 1.0
import App.Styles 1.0
// =============================================================================
DialogPlus {
id: dialog
buttons: [
TextButtonB {
text: qsTr('confirm')
onClicked: exit(1)
}
]
buttonsAlignment: Qt.AlignCenter
flat: true
showMargins: true
height: SettingsVideoPreviewStyle.height
width: SettingsVideoPreviewStyle.width
// ---------------------------------------------------------------------------
MouseArea{
anchors.fill: parent
onClicked: DesktopTools.getWindowIdFromMouse()
CameraView{
id: previewLoader
anchors.centerIn: parent
height: parent.height
width: height
qmlName: 'SettingsVideo'
showCloseButton: false
}
}
}