mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-10-06 09:17:07 +02:00
0ad84736c0
Fix monitorlistmodel and add mock monitor list for easier testing Add working active wallpaper preview based on selected timeline Change many calls to use coroutines that make the async handling of wallpaper closing 1000x easier Fix wallpaper count based on actual connected wallpaper and not based on started Add LineIndicator user selected indicator
27 lines
637 B
QML
27 lines
637 B
QML
import QtQuick
|
|
import QtQuick.Controls as QQC
|
|
import Qt5Compat.GraphicalEffects
|
|
import QtQuick.Controls.Material
|
|
import QtQuick.Layouts
|
|
import ScreenPlayUtil
|
|
|
|
QQC.Popup {
|
|
id: root
|
|
property Item modalSource
|
|
// Workaround for missing animation on hide
|
|
// when using hideSource
|
|
property bool aboutToHide: false
|
|
dim: true
|
|
anchors.centerIn: Overlay.overlay
|
|
modal: true
|
|
focus: true
|
|
|
|
Overlay.modal: ModalBackgroundBlur {
|
|
id: blurBg
|
|
sourceItem: root.modalSource
|
|
hideSource: root.aboutToHide
|
|
}
|
|
onAboutToHide: root.aboutToHide = false
|
|
onClosed: root.aboutToHide = true
|
|
}
|