summaryrefslogtreecommitdiff
path: root/widgets/filedialog/FileDialog.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-07-19 22:54:58 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-07-19 22:54:58 +1000
commit7c991dee0a276ab110325f6c8d1c44875d5f8526 (patch)
tree50a6c8b788defc3107909e1b4a356bf691cd2a47 /widgets/filedialog/FileDialog.qml
parentlauncher: fix (diff)
downloadcaelestia-shell-7c991dee0a276ab110325f6c8d1c44875d5f8526.tar.gz
caelestia-shell-7c991dee0a276ab110325f6c8d1c44875d5f8526.tar.bz2
caelestia-shell-7c991dee0a276ab110325f6c8d1c44875d5f8526.zip
internal: file dialog part 1
Diffstat (limited to '')
-rw-r--r--widgets/filedialog/FileDialog.qml40
1 files changed, 40 insertions, 0 deletions
diff --git a/widgets/filedialog/FileDialog.qml b/widgets/filedialog/FileDialog.qml
new file mode 100644
index 0000000..915c09c
--- /dev/null
+++ b/widgets/filedialog/FileDialog.qml
@@ -0,0 +1,40 @@
+import qs.services
+import qs.config
+import Quickshell
+import QtQuick.Layouts
+
+FloatingWindow {
+ id: root
+
+ property list<string> cwd: ["Home", "Downloads"]
+
+ implicitWidth: 1000
+ implicitHeight: 600
+ color: Colours.palette.m3surface
+
+ RowLayout {
+ anchors.fill: parent
+ anchors.margins: Appearance.padding.normal
+
+ spacing: Appearance.spacing.normal
+
+ ColumnLayout {
+ Layout.fillWidth: true
+ Layout.fillHeight: true
+
+ spacing: Appearance.spacing.small
+
+ HeaderBar {
+ Layout.fillWidth: true
+ cwd: root.cwd
+ }
+
+ FolderContents {
+ Layout.fillWidth: true
+ Layout.fillHeight: true
+
+ cwd: root.cwd
+ }
+ }
+ }
+}