NPanel: add drag support

This commit is contained in:
Ly-sec
2025-09-18 18:27:35 +02:00
parent 07a6a16011
commit 6fba3457f7
3 changed files with 57 additions and 2 deletions
+2
View File
@@ -21,6 +21,8 @@ NPanel {
panelKeyboardFocus: true
draggable: true
// Tabs enumeration, order is NOT relevant
enum Tab {
About,
@@ -18,6 +18,8 @@ NPanel {
panelAnchorVerticalCenter: true
panelKeyboardFocus: true
draggable: true
// Local reactive state
property list<string> wallpapersList: []
property string currentWallpaper: ""