mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-12-11 16:00:47 -07:00
Added action for togling fullscreen
Contributes to CURA-52
This commit is contained in:
parent
21d8eb941b
commit
5f844d4039
2 changed files with 10 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue