From afb965a6127d363ef8d7e132e086fccfb3e8d504 Mon Sep 17 00:00:00 2001 From: Samuel Fadel Date: Sun, 17 Jan 2016 17:01:36 +0100 Subject: Removed menu to change techniques. --- main_view.qml | 120 +++++++++++++++++++++++++++++----------------------------- 1 file 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 -- cgit v1.2.3