From f4c6e82c6d153833bd07ee08eeb4a2746ace69f7 Mon Sep 17 00:00:00 2001 From: Ad5001 Date: Mon, 7 Feb 2022 13:34:23 +0100 Subject: [PATCH] Trying to fix the issue that ALT+ menu shortcuts do not work. --- .../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml | 11 ++++++++--- .../eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml | 2 +- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml b/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml index fd09af4..c123a99 100644 --- a/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml +++ b/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml @@ -18,8 +18,8 @@ import QtQuick 2.12 import QtQuick.Dialogs 1.3 -//import QtQuick.Controls 2.12 -import eu.ad5001.MixedMenu 1.1 +import QtQuick.Controls 2.15 +//import eu.ad5001.MixedMenu 1.1 import "js/objects.js" as Objects import "js/historylib.js" as HistoryLib @@ -146,13 +146,18 @@ MenuBar { Action { text: qsTr("&Source code") icon.name: 'software-sources' - onTriggered: Qt.openUrlExternally("https://git.ad5001.eu/Ad5001/LogarithmPlotter/issues") + onTriggered: Qt.openUrlExternally("https://git.ad5001.eu/Ad5001/LogarithmPlotter") } Action { text: qsTr("&Report a bug") icon.name: 'tools-report-bug' onTriggered: Qt.openUrlExternally("https://git.ad5001.eu/Ad5001/LogarithmPlotter/issues") } + Action { + text: qsTr("&User manual") + icon.name: 'documentation' + onTriggered: Qt.openUrlExternally("https://git.ad5001.eu/Ad5001/LogarithmPlotter/wiki") + } Action { text: qsTr("&Changelog") icon.name: 'state-information' diff --git a/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml b/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml index 023b0a0..7efbab3 100644 --- a/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml +++ b/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml @@ -47,7 +47,7 @@ ApplicationWindow { SystemPalette { id: sysPalette; colorGroup: SystemPalette.Active } SystemPalette { id: sysPaletteIn; colorGroup: SystemPalette.Disabled } - menuBar: appMenu.trueItem + menuBar: appMenu//.trueItem AppMenuBar {id: appMenu}