2023-07-30 08:49:34 -04:00
|
|
|
// SPDX-FileCopyrightText: 2023 Joshua Goins <josh@redstrate.com>
|
|
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
|
2023-09-16 17:32:38 -04:00
|
|
|
import QtCore
|
|
|
|
import QtQuick.Dialogs
|
2023-09-16 18:15:11 -04:00
|
|
|
|
|
|
|
import org.kde.kirigamiaddons.labs.mobileform as MobileForm
|
2023-07-30 08:49:34 -04:00
|
|
|
|
|
|
|
MobileForm.FormButtonDelegate {
|
|
|
|
id: control
|
|
|
|
|
|
|
|
property string folder
|
|
|
|
|
|
|
|
icon.name: "document-open-folder"
|
|
|
|
description: folder
|
|
|
|
|
|
|
|
onClicked: dialog.open()
|
|
|
|
|
2023-09-16 17:32:38 -04:00
|
|
|
FolderDialog {
|
2023-07-30 08:49:34 -04:00
|
|
|
id: dialog
|
|
|
|
|
2023-09-16 17:32:38 -04:00
|
|
|
currentFolder: StandardPaths.standardLocations(StandardPaths.HomeLocation)[0]
|
2023-07-30 08:49:34 -04:00
|
|
|
}
|
|
|
|
}
|