File Picker: Using platform's native picker - removed custom picker.

This commit is contained in:
ItsLemmy
2025-09-22 11:39:04 -04:00
parent f348eb993c
commit 8ece805273
7 changed files with 216 additions and 886 deletions
+10 -2
View File
@@ -25,6 +25,8 @@ Loader {
property bool panelAnchorLeft: false
property bool panelAnchorRight: false
property bool isMasked: false
// Properties to support positioning relative to the opener (button)
property bool useButtonPosition: false
property point buttonPosition: Qt.point(0, 0)
@@ -177,12 +179,18 @@ Loader {
}
visible: true
color: Settings.data.general.dimDesktop ? Qt.alpha(Color.mShadow, dimmingOpacity) : Color.transparent
WlrLayershell.exclusionMode: ExclusionMode.Ignore
WlrLayershell.namespace: "noctalia-panel"
WlrLayershell.keyboardFocus: root.panelKeyboardFocus ? WlrKeyboardFocus.OnDemand : WlrKeyboardFocus.None
mask: root.isMasked ? maskRegion : null
Region {
id: maskRegion
}
Behavior on color {
ColorAnimation {
duration: Style.animationSlow
@@ -244,7 +252,7 @@ Loader {
}
scale: root.scaleValue
opacity: root.opacityValue
opacity: root.isMasked ? 0 : root.opacityValue
x: isDragged ? manualX : calculatedX
y: isDragged ? manualY : calculatedY