mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 08:39:01 +08:00
Added action for togling fullscreen
Contributes to CURA-52
This commit is contained in:
parent
21d8eb941b
commit
5f844d4039
@ -40,6 +40,14 @@ Item {
|
|||||||
property alias reportBug: reportBugAction;
|
property alias reportBug: reportBugAction;
|
||||||
property alias about: aboutAction;
|
property alias about: aboutAction;
|
||||||
|
|
||||||
|
property alias toggleFullScreen: toggleFullScreenAction;
|
||||||
|
|
||||||
|
Action
|
||||||
|
{
|
||||||
|
id:toggleFullScreenAction
|
||||||
|
shortcut: StandardKey.FullScreen;
|
||||||
|
}
|
||||||
|
|
||||||
Action {
|
Action {
|
||||||
id: undoAction;
|
id: undoAction;
|
||||||
//: Undo action
|
//: Undo action
|
||||||
|
@ -12,7 +12,6 @@ import UM 1.1 as UM
|
|||||||
UM.MainWindow {
|
UM.MainWindow {
|
||||||
id: base
|
id: base
|
||||||
visible: true
|
visible: true
|
||||||
|
|
||||||
//: Cura application window title
|
//: Cura application window title
|
||||||
title: qsTr("Cura");
|
title: qsTr("Cura");
|
||||||
|
|
||||||
@ -425,6 +424,8 @@ UM.MainWindow {
|
|||||||
reportBug.onTriggered: CuraActions.openBugReportPage();
|
reportBug.onTriggered: CuraActions.openBugReportPage();
|
||||||
showEngineLog.onTriggered: engineLog.visible = true;
|
showEngineLog.onTriggered: engineLog.visible = true;
|
||||||
about.onTriggered: aboutDialog.visible = true;
|
about.onTriggered: aboutDialog.visible = true;
|
||||||
|
toggleFullScreen.onTriggered: base.toggleFullscreen()
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Menu {
|
Menu {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user