FormFolderDelegate QML Type

A Form delegate that let the user select a folder. More...

Import Statement: import org.kde.kirigamiaddons.formcard
Inherits:

AbstractFormDelegate

Properties

Signals

Detailed Description

FormCard.FormHeader {
    title: "Information"
}

FormCard.FormCard {
    FormCard.FormFolderDelegate {
        label: "Important document"
        currentFolder: StandardPaths.standardLocations(StandardPaths.DocumentsLocation)[0]
    }
}

Property Documentation

acceptLabel : string

The acceptLabel of the folder dialog.

currentFolder : url

The currentFolder of the folder dialog.

description : string [default: ""]

A label containing secondary text that appears under the inherited text property.

This provides additional information shown in a faint gray color.

label : string [required]

A label containing primary text that appears next to the selected folder or folder name.

options : flags

The options of the folder dialog.

rejectLabel : string

The rejectLabel of the folder dialog.

selectedFile : url

The selectedFolder of the folder dialog.

selectedFolder : alias

The selectedFolder of the folder dialog.

Signal Documentation

accepted()

This signal is emitted when a valid folder is selected

Note: The corresponding handler is onAccepted.