mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-18 03:48:09 +00:00
45 lines
948 B
QML
45 lines
948 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 () {
|
|
Logic.attachVirtualWindow.apply(this, arguments)
|
|
}
|
|
|
|
function detachVirtualWindow () {
|
|
Logic.detachVirtualWindow()
|
|
}
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
Item {
|
|
anchors.fill: parent
|
|
|
|
Rectangle {
|
|
id: content
|
|
|
|
anchors.fill: parent
|
|
}
|
|
|
|
VirtualWindow {
|
|
id: virtualWindow
|
|
}
|
|
}
|
|
}
|