mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 19:38:09 +00:00
45 lines
1,018 B
QML
45 lines
1,018 B
QML
import QtQuick 2.7
|
|
import QtQuick.Controls 2.2
|
|
|
|
import 'Window.js' as Logic
|
|
|
|
// =============================================================================
|
|
|
|
ApplicationWindow {
|
|
id: window
|
|
|
|
default property alias _content: content.data
|
|
|
|
readonly property bool virtualWindowVisible: virtualWindow.visible
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
signal attachedVirtualWindow
|
|
signal detachedVirtualWindow
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
function attachVirtualWindow (component, properties, exitStatusHandler) {
|
|
Logic.attachVirtualWindow.call(this, component, properties, exitStatusHandler)
|
|
}
|
|
|
|
function detachVirtualWindow () {
|
|
Logic.detachVirtualWindow()
|
|
}
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
Item {
|
|
anchors.fill: parent
|
|
|
|
Rectangle {
|
|
id: content
|
|
|
|
anchors.fill: parent
|
|
}
|
|
|
|
VirtualWindow {
|
|
id: virtualWindow
|
|
}
|
|
}
|
|
}
|