mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 22:39:02 +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 about: aboutAction;
|
||||
|
||||
property alias toggleFullScreen: toggleFullScreenAction;
|
||||
|
||||
Action
|
||||
{
|
||||
id:toggleFullScreenAction
|
||||
shortcut: StandardKey.FullScreen;
|
||||
}
|
||||
|
||||
Action {
|
||||
id: undoAction;
|
||||
//: Undo action
|
||||
|
@ -12,7 +12,6 @@ import UM 1.1 as UM
|
||||
UM.MainWindow {
|
||||
id: base
|
||||
visible: true
|
||||
|
||||
//: Cura application window title
|
||||
title: qsTr("Cura");
|
||||
|
||||
@ -425,6 +424,8 @@ UM.MainWindow {
|
||||
reportBug.onTriggered: CuraActions.openBugReportPage();
|
||||
showEngineLog.onTriggered: engineLog.visible = true;
|
||||
about.onTriggered: aboutDialog.visible = true;
|
||||
toggleFullScreen.onTriggered: base.toggleFullscreen()
|
||||
|
||||
}
|
||||
|
||||
Menu {
|
||||
|
Loading…
x
Reference in New Issue
Block a user