mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-22 06:03:57 -06:00
Add working show documentation and report bug actions
This commit is contained in:
parent
ef7b224abc
commit
502133a006
2 changed files with 18 additions and 5 deletions
|
@ -91,7 +91,9 @@ UM.MainWindow {
|
|||
//: Help menu
|
||||
title: qsTr("&Help");
|
||||
|
||||
MenuItem { action: actions.help; }
|
||||
MenuItem { action: actions.documentation; }
|
||||
MenuItem { action: actions.reportBug; }
|
||||
MenuSeparator { }
|
||||
MenuItem { action: actions.about; }
|
||||
}
|
||||
}
|
||||
|
@ -254,6 +256,9 @@ UM.MainWindow {
|
|||
|
||||
preferences.onTriggered: preferences.visible = true;
|
||||
configureMachines.onTriggered: { preferences.visible = true; preferences.setPage(2); }
|
||||
|
||||
documentation.onTriggered: Qt.openUrlExternally("https://ultimaker.com/en/support");
|
||||
reportBug.onTriggered: Qt.openUrlExternally("https://github.com/Ultimaker/PluggableCura/issues");
|
||||
}
|
||||
|
||||
Menu {
|
||||
|
|
|
@ -25,7 +25,8 @@ Item {
|
|||
property alias configureMachines: settingsAction;
|
||||
|
||||
property alias preferences: preferencesAction;
|
||||
property alias help: helpAction;
|
||||
property alias documentation: documentationAction;
|
||||
property alias reportBug: reportBugAction;
|
||||
property alias about: aboutAction;
|
||||
|
||||
Action {
|
||||
|
@ -73,13 +74,20 @@ Item {
|
|||
}
|
||||
|
||||
Action {
|
||||
id: helpAction;
|
||||
//: Show Manual action
|
||||
text: qsTr("Show Manual");
|
||||
id: documentationAction;
|
||||
//: Show Online Documentation action
|
||||
text: qsTr("Show Online Documentation");
|
||||
iconName: "help-contents";
|
||||
shortcut: StandardKey.Help;
|
||||
}
|
||||
|
||||
Action {
|
||||
id: reportBugAction;
|
||||
//: Report a Bug Action
|
||||
text: qsTr("Report a Bug");
|
||||
iconName: "tools-report-bug";
|
||||
}
|
||||
|
||||
Action {
|
||||
id: aboutAction;
|
||||
//: About action
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue