Commit f6d6e384 authored by Leander Schulten's avatar Leander Schulten
Browse files

Add possibility to change the audioCaptureFilePath Setting in the Setting view

parent 922bcd0e
......@@ -158,6 +158,34 @@ Pane{
text: Settings.compilerLibraryFlags
onAccepted: Settings.compilerLibraryFlags = text;
}
Label{
Layout.fillWidth: true
text: "AudioCaptureLib:"
}
TextInputField{
Layout.fillWidth: true
text: Settings.includePath
onAccepted: Settings.includePath = text;
Button{
anchors.top: parent.top
anchors.right: parent.right
anchors.topMargin: -5
anchors.bottomMargin: -5
anchors.bottom: parent.bottom
text: "File Chooser"
onClicked: {
fileDialog.selectFolder = false;
fileDialog.selectMultiple = false;
fileDialog.folder = Settings.audioCaptureFilePath;
fileDialog.open();
fileDialog.addSelection(Settings.audioCaptureFilePath);
fileDialog.callback = function(file){
Settings.audioCaptureFilePath = file;
};
}
}
}
}
FileDialog{
property var callback;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment