From 7c991dee0a276ab110325f6c8d1c44875d5f8526 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Sat, 19 Jul 2025 22:54:58 +1000 Subject: internal: file dialog part 1 --- widgets/filedialog/FileDialog.qml | 40 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 widgets/filedialog/FileDialog.qml (limited to 'widgets/filedialog/FileDialog.qml') 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 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 + } + } + } +} -- cgit v1.2.3-freya