Warning, /frameworks/purpose/src/plugins/saveas/saveasplugin_config.qml is written in an unsupported language. File is not indexed.

0001 /*
0002     SPDX-FileCopyrightText: 2014 Aleix Pol Gonzalez <aleixpol@blue-systems.com>
0003 
0004     SPDX-License-Identifier: LGPL-2.1-or-later
0005 */
0006 
0007 import QtQuick
0008 import QtQuick.Layouts
0009 import QtQuick.Controls
0010 import QtQuick.Dialogs
0011 
0012 ColumnLayout
0013 {
0014     id: root
0015     property alias destinationPath: destination.text
0016     property variant urls
0017 
0018     Label {
0019         text: i18n("Save directory:")
0020     }
0021     Button {
0022         id: destination
0023         Layout.fillWidth: true
0024 
0025         icon.name: "document-open-folder"
0026         onClicked: {
0027             dirSelector.visible = true
0028         }
0029 
0030         FolderDialog {
0031             id: dirSelector
0032             title: i18n("Select a directory where to save your pictures and videos")
0033 
0034             onAccepted: {
0035                 destination.text = dirSelector.selectedFolder
0036             }
0037         }
0038     }
0039     Item {
0040         Layout.fillHeight: true
0041     }
0042 }