I'm using QtQuick Dialogs 1.2 in Qt application over Linux and I want to restrict my FileDialog to just two paths specified by me. My FileDialog is something like that:
FileDialog {
id: fileDialogExample
title: qsTr("File Dialog example")
nameFilters: [qsTr("Image files %1").arg("(*.jpg *.png)")]
folder: '/home/user/Downloads'
}
I want my file dialog only accept jpg/png files and start in specified path, but can move only to /mnt. Is this possible with stock FileDialog in Qt Dialogs 1.2?