aboutsummaryrefslogtreecommitdiff
path: root/main_view.qml
diff options
context:
space:
mode:
Diffstat (limited to 'main_view.qml')
-rw-r--r--main_view.qml12
1 files changed, 11 insertions, 1 deletions
diff --git a/main_view.qml b/main_view.qml
index 4a093f2..5d86c36 100644
--- a/main_view.qml
+++ b/main_view.qml
@@ -1,8 +1,10 @@
import QtQuick 2.0
import QtQuick.Controls 1.3
+import QtQuick.Dialogs 1.2
import PM 1.0
ApplicationWindow {
+ title: "Projection Manipulation"
visible: true
width: 1200
height: 600
@@ -59,6 +61,14 @@ ApplicationWindow {
}
}
+ FileDialog {
+ id: fileDialog
+ title: "Choose a file..."
+ onAccepted: {
+ // datasetLoader.load(fileDialog.fileUrls)
+ }
+ }
+
Action {
id: quitAction
text: "&Quit"
@@ -70,7 +80,7 @@ ApplicationWindow {
id: openAction
text: "&Open..."
shortcut: "Ctrl+O"
- onTriggered: console.log("Open file")
+ onTriggered: fileDialog.open()
}
Action {