|
|
@ -18,11 +18,13 @@ ApplicationWindow { |
|
|
|
MenuBar { |
|
|
|
MenuBar { |
|
|
|
Menu { |
|
|
|
Menu { |
|
|
|
title: "File" |
|
|
|
title: "File" |
|
|
|
|
|
|
|
/* |
|
|
|
MenuItem { |
|
|
|
MenuItem { |
|
|
|
text: "Import App" |
|
|
|
text: "Import App" |
|
|
|
shortcut: "Ctrl+o" |
|
|
|
shortcut: "Ctrl+o" |
|
|
|
onTriggered: openAppDialog.open() |
|
|
|
onTriggered: openAppDialog.open() |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
*/ |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
Menu { |
|
|
|
Menu { |
|
|
@ -240,7 +242,10 @@ ApplicationWindow { |
|
|
|
id: openAppDialog |
|
|
|
id: openAppDialog |
|
|
|
title: "Open QML Application" |
|
|
|
title: "Open QML Application" |
|
|
|
onAccepted: { |
|
|
|
onAccepted: { |
|
|
|
ui.open(openAppDialog.fileUrl.toString()) |
|
|
|
//ui.open(openAppDialog.fileUrl.toString()) |
|
|
|
|
|
|
|
//ui.openHtml(Qt.resolvedUrl(ui.assetPath("test.html"))) |
|
|
|
|
|
|
|
ui.openHtml(openAppDialog.fileUrl.toString()) |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|