aboutsummaryrefslogtreecommitdiffstats
path: root/Main.qml
diff options
context:
space:
mode:
authorAlexandra Betouni <alexandra.betouni@luxoft.com>2018-01-12 15:31:17 +0100
committerDaniel d'Andrada <daniel.dandrada@luxoft.com>2018-03-28 16:07:49 +0000
commit49135fa33d5ea1ed57243545023001d67034b363 (patch)
tree77fb4b47c6b8f5358ff67a24b9223ff12dbc0b7f /Main.qml
parentd5e89157a03fb789078d8b18cb25006910e0858d (diff)
[sysui] Adding Intents interface
An Intent is an object which is used to request an application or any other UI element (eg. a popup) to just open or open in a certain state from wherever in the system. Adding interface to later on implement pending use cases. Task-number: QTAUTO-935 Change-Id: I509f304ddaf9f69296842fbeae22c6b8525971db Reviewed-by: Daniel d'Andrada <daniel.dandrada@luxoft.com>
Diffstat (limited to 'Main.qml')
-rw-r--r--Main.qml8
1 files changed, 8 insertions, 0 deletions
diff --git a/Main.qml b/Main.qml
index 14e8437f..56b72e7f 100644
--- a/Main.qml
+++ b/Main.qml
@@ -216,6 +216,14 @@ Window {
instrumentClusterWindowLoader.item.nextSecondaryWindow();
}
}
+ Shortcut {
+ //simulates hard key back press
+ sequence: "Ctrl+b"
+ context: Qt.ApplicationShortcut
+ onActivated: {
+ display.applicationModel.goBack();
+ }
+ }
}
ModalOverlay {