diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-07-19 22:54:58 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-07-19 22:54:58 +1000 |
| commit | 7c991dee0a276ab110325f6c8d1c44875d5f8526 (patch) | |
| tree | 50a6c8b788defc3107909e1b4a356bf691cd2a47 /widgets/filedialog/FileDialog.qml | |
| parent | launcher: fix (diff) | |
| download | caelestia-shell-7c991dee0a276ab110325f6c8d1c44875d5f8526.tar.gz caelestia-shell-7c991dee0a276ab110325f6c8d1c44875d5f8526.tar.bz2 caelestia-shell-7c991dee0a276ab110325f6c8d1c44875d5f8526.zip | |
internal: file dialog part 1
Diffstat (limited to 'widgets/filedialog/FileDialog.qml')
| -rw-r--r-- | widgets/filedialog/FileDialog.qml | 40 |
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 + } + } + } +} |