mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-02-07 15:08:24 +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
47 lines
960 B
QML
47 lines
960 B
QML
import QtQuick 2.7
|
|
|
|
import Common 1.0
|
|
import Common.Styles 1.0
|
|
|
|
// =============================================================================
|
|
|
|
MouseArea {
|
|
id: tooltipArea
|
|
|
|
property alias text: tooltip.text
|
|
property int delay: TooltipStyle.delay
|
|
property bool force: false
|
|
property var tooltipParent: parent
|
|
|
|
property bool _visible: false
|
|
|
|
anchors.fill:parent
|
|
|
|
hoverEnabled: true
|
|
scrollGestureEnabled: true
|
|
|
|
onContainsMouseChanged: _visible = containsMouse
|
|
onPressed: mouse.accepted = false
|
|
onWheel: {
|
|
_visible = false
|
|
wheel.accepted = false
|
|
}
|
|
|
|
Tooltip {
|
|
id: tooltip
|
|
|
|
delay: tooltipArea.delay
|
|
parent: tooltipParent
|
|
visible: _visible || force
|
|
width: tooltipParent.width>TooltipStyle.minWidth?tooltipParent.width:TooltipStyle.minWidth
|
|
|
|
timeout: -1
|
|
|
|
// Workaround to always display tooltip.
|
|
onVisibleChanged: {
|
|
if (!visible && force) {
|
|
tooltip.visible = true
|
|
}
|
|
}
|
|
}
|
|
}
|