mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-07 14:04:03 -06:00
Removed unused EngineLog
This commit is contained in:
parent
b89c220a4d
commit
b3fc76092d
3 changed files with 0 additions and 67 deletions
|
@ -58,7 +58,6 @@ Item
|
|||
|
||||
property alias preferences: preferencesAction;
|
||||
|
||||
property alias showEngineLog: showEngineLogAction;
|
||||
property alias showProfileFolder: showProfileFolderAction;
|
||||
property alias documentation: documentationAction;
|
||||
property alias reportBug: reportBugAction;
|
||||
|
@ -396,14 +395,6 @@ Item
|
|||
shortcut: StandardKey.New
|
||||
}
|
||||
|
||||
Action
|
||||
{
|
||||
id: showEngineLogAction;
|
||||
text: catalog.i18nc("@action:inmenu menubar:help","Show Engine &Log...");
|
||||
iconName: "view-list-text";
|
||||
shortcut: StandardKey.WhatsThis;
|
||||
}
|
||||
|
||||
Action
|
||||
{
|
||||
id: showProfileFolderAction;
|
||||
|
|
|
@ -655,11 +655,6 @@ UM.MainWindow
|
|||
}
|
||||
}
|
||||
|
||||
EngineLog
|
||||
{
|
||||
id: engineLog;
|
||||
}
|
||||
|
||||
Connections
|
||||
{
|
||||
target: Cura.Actions.showProfileFolder
|
||||
|
|
|
@ -1,53 +0,0 @@
|
|||
// Copyright (c) 2015 Ultimaker B.V.
|
||||
// Cura is released under the terms of the LGPLv3 or higher.
|
||||
|
||||
import QtQuick 2.2
|
||||
import QtQuick.Controls 1.1
|
||||
import QtQuick.Layouts 1.1
|
||||
|
||||
import UM 1.1 as UM
|
||||
|
||||
UM.Dialog
|
||||
{
|
||||
id: dialog;
|
||||
|
||||
//: Engine Log dialog title
|
||||
title: catalog.i18nc("@title:window","Engine Log");
|
||||
|
||||
modality: Qt.NonModal;
|
||||
|
||||
TextArea
|
||||
{
|
||||
id: textArea
|
||||
anchors.fill: parent;
|
||||
|
||||
Timer
|
||||
{
|
||||
id: updateTimer;
|
||||
interval: 1000;
|
||||
running: false;
|
||||
repeat: true;
|
||||
onTriggered: textArea.text = CuraApplication.getEngineLog();
|
||||
}
|
||||
UM.I18nCatalog{id: catalog; name:"cura"}
|
||||
}
|
||||
|
||||
rightButtons: Button
|
||||
{
|
||||
//: Close engine log button
|
||||
text: catalog.i18nc("@action:button","Close");
|
||||
onClicked: dialog.visible = false;
|
||||
}
|
||||
|
||||
onVisibleChanged:
|
||||
{
|
||||
if(visible)
|
||||
{
|
||||
textArea.text = CuraApplication.getEngineLog();
|
||||
updateTimer.start();
|
||||
} else
|
||||
{
|
||||
updateTimer.stop();
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue