aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Fadel <samuelfadel@gmail.com>2016-01-17 17:01:36 +0100
committerSamuel Fadel <samuelfadel@gmail.com>2016-01-17 17:01:36 +0100
commitafb965a6127d363ef8d7e132e086fccfb3e8d504 (patch)
tree30344667975225abac7e1e5b3178f924afe2c313
parentc91afcbcf6ce614df825e4e5d96eedeea53dec93 (diff)
Removed menu to change techniques.
-rw-r--r--main_view.qml120
1 files changed, 60 insertions, 60 deletions
diff --git a/main_view.qml b/main_view.qml
index ef4b4cd..51f29d5 100644
--- a/main_view.qml
+++ b/main_view.qml
@@ -25,25 +25,25 @@ ApplicationWindow {
MenuItem { action: quitAction }
}
- Menu {
- title: "Technique"
- MenuItem {
- action: lampTechniqueAction
- exclusiveGroup: techniqueGroup
- }
- MenuItem {
- action: lspTechniqueAction
- exclusiveGroup: techniqueGroup
- }
- MenuItem {
- action: plmpTechniqueAction
- exclusiveGroup: techniqueGroup
- }
- MenuItem {
- action: pekalskaTechniqueAction
- exclusiveGroup: techniqueGroup
- }
- }
+ //Menu {
+ // title: "Technique"
+ // MenuItem {
+ // action: lampTechniqueAction
+ // exclusiveGroup: techniqueGroup
+ // }
+ // MenuItem {
+ // action: lspTechniqueAction
+ // exclusiveGroup: techniqueGroup
+ // }
+ // MenuItem {
+ // action: plmpTechniqueAction
+ // exclusiveGroup: techniqueGroup
+ // }
+ // MenuItem {
+ // action: pekalskaTechniqueAction
+ // exclusiveGroup: techniqueGroup
+ // }
+ //}
Menu {
title: "Mode"
@@ -326,47 +326,47 @@ ApplicationWindow {
onTriggered: Qt.quit()
}
- ExclusiveGroup {
- id: techniqueGroup
-
- Action {
- id: lampTechniqueAction
- text: "LAMP"
- shortcut: "Ctrl+1"
- checked: true
- checkable: true
- onTriggered: {
- Main.setTechnique(InteractionHandler.TECHNIQUE_LAMP)
- }
- }
- Action {
- id: lspTechniqueAction
- text: "LSP"
- shortcut: "Ctrl+2"
- checkable: true
- onTriggered: {
- Main.setTechnique(InteractionHandler.TECHNIQUE_LSP)
- }
- }
- Action {
- id: plmpTechniqueAction
- text: "PLMP"
- shortcut: "Ctrl+3"
- checkable: true
- onTriggered: {
- Main.setTechnique(InteractionHandler.TECHNIQUE_PLMP)
- }
- }
- Action {
- id: pekalskaTechniqueAction
- text: "Pekalska"
- shortcut: "Ctrl+4"
- checkable: true
- onTriggered: {
- Main.setTechnique(InteractionHandler.TECHNIQUE_PEKALSKA)
- }
- }
- }
+ //ExclusiveGroup {
+ // id: techniqueGroup
+
+ // Action {
+ // id: lampTechniqueAction
+ // text: "LAMP"
+ // shortcut: "Ctrl+1"
+ // checked: true
+ // checkable: true
+ // onTriggered: {
+ // Main.setTechnique(InteractionHandler.TECHNIQUE_LAMP)
+ // }
+ // }
+ // Action {
+ // id: lspTechniqueAction
+ // text: "LSP"
+ // shortcut: "Ctrl+2"
+ // checkable: true
+ // onTriggered: {
+ // Main.setTechnique(InteractionHandler.TECHNIQUE_LSP)
+ // }
+ // }
+ // Action {
+ // id: plmpTechniqueAction
+ // text: "PLMP"
+ // shortcut: "Ctrl+3"
+ // checkable: true
+ // onTriggered: {
+ // Main.setTechnique(InteractionHandler.TECHNIQUE_PLMP)
+ // }
+ // }
+ // Action {
+ // id: pekalskaTechniqueAction
+ // text: "Pekalska"
+ // shortcut: "Ctrl+4"
+ // checkable: true
+ // onTriggered: {
+ // Main.setTechnique(InteractionHandler.TECHNIQUE_PEKALSKA)
+ // }
+ // }
+ //}
ExclusiveGroup {
id: modeGroup