mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-29 01:39:19 +00:00
- Process GUI events before accepting a call in order to be synchronized with Call objects - Revert window variable naming - Change open window order when receive call Fix : Show Notifications while in fullscreen Fix : show settings in fullscreen QuickFix: - Set Minimum Width on Tooltips - Show full path on log folder selection - Add Conference participant filter to show only users that are in conference - Add test on Player to avoid crash if it cannot be instanciated before - Window position when opening in fullscreen
46 lines
1.7 KiB
JavaScript
46 lines
1.7 KiB
JavaScript
/*
|
|
* Copyright (c) 2010-2020 Belledonne Communications SARL.
|
|
*
|
|
* This file is part of linphone-desktop
|
|
* (see https://www.linphone.org).
|
|
*
|
|
* This program is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
// =============================================================================
|
|
// Windows (qml) Logic.
|
|
// =============================================================================
|
|
|
|
.import 'qrc:/ui/scripts/Utils/utils.js' as Utils
|
|
|
|
// =============================================================================
|
|
|
|
// Create a dynamic component hover the main content of one window.
|
|
// The object parameter must have a `exitStatus` signal which is used
|
|
// at item destruction.
|
|
//
|
|
// The exit status handler is optional.
|
|
function attachVirtualWindow (component, properties, exitStatusHandler) {
|
|
if (virtualWindow.active){//already loaded
|
|
return
|
|
}
|
|
virtualWindow.setContent(component, properties, exitStatusHandler)
|
|
window.attachedVirtualWindow()
|
|
}
|
|
|
|
function detachVirtualWindow () {
|
|
if( virtualWindow.active){
|
|
virtualWindow.unsetContent()
|
|
window.detachedVirtualWindow()
|
|
}
|
|
}
|