more work on popups

This commit is contained in:
kossLAN 2025-08-11 14:26:12 -04:00
parent 9cc386b5b5
commit ec04d07e24
Signed by: kossLAN
SSH key fingerprint: SHA256:bdV0x+wdQHGJ6LgmstH3KV8OpWY+OOFmJcPcB0wQPV8
6 changed files with 134 additions and 125 deletions

View file

@ -1,4 +1,5 @@
import QtQuick
import qs.widgets
Item {
id: root
@ -46,8 +47,9 @@ Item {
implicitWidth: children[0].implicitWidth
}
required property var popup
required property var popup
required property var owner
property bool centered: false
property bool show: false
signal closed
@ -61,10 +63,4 @@ Item {
velocity: 5
}
}
function snapOpacity(opacity: real) {
opacityAnimation.enabled = false;
targetOpacity = opacity;
opacityAnimation.enabled = true;
}
}