mirror of
https://github.com/overte-org/overte.git
synced 2025-07-11 00:18:39 +02:00
29 lines
508 B
QML
29 lines
508 B
QML
import QtQuick 2.5
|
|
import QtQuick.Controls 1.4
|
|
|
|
import "../desktop"
|
|
import ".."
|
|
|
|
Desktop {
|
|
id: desktop
|
|
|
|
// The tool window, one instance
|
|
property alias toolWindow: toolWindow
|
|
ToolWindow { id: toolWindow }
|
|
|
|
Action {
|
|
text: "Open Browser"
|
|
shortcut: "Ctrl+B"
|
|
onTriggered: {
|
|
console.log("Open browser");
|
|
browserBuilder.createObject(desktop);
|
|
}
|
|
property var browserBuilder: Component {
|
|
Browser{}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|