mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-11-17 00:07:51 +00:00
Added daemonConsole component to main.qml
This commit is contained in:
parent
4d56ed9e27
commit
7fe9d71eb3
2 changed files with 22 additions and 13 deletions
18
main.qml
18
main.qml
|
@ -1804,7 +1804,25 @@ ApplicationWindow {
|
|||
middlePanel.focus = true
|
||||
middlePanel.focus = false
|
||||
}
|
||||
}
|
||||
|
||||
// Daemon console
|
||||
DaemonConsole {
|
||||
id: daemonConsolePopup
|
||||
height:500
|
||||
width:800
|
||||
title: qsTr("Daemon log") + translationManager.emptyString
|
||||
onAccepted: {
|
||||
close();
|
||||
}
|
||||
}
|
||||
|
||||
// background gradient
|
||||
Rectangle {
|
||||
id: inactiveOverlay
|
||||
visible: false
|
||||
anchors.fill: parent
|
||||
color: "black"
|
||||
opacity: 0.8
|
||||
}
|
||||
}
|
||||
|
|
|
@ -32,6 +32,8 @@ import QtQuick.Controls.Styles 1.4
|
|||
import QtQuick.Layouts 1.1
|
||||
import QtQuick.Dialogs 1.2
|
||||
import "../version.js" as Version
|
||||
import "../js/Windows.js" as Windows
|
||||
import "../js/Utils.js" as Utils
|
||||
|
||||
|
||||
import "../components"
|
||||
|
@ -501,7 +503,7 @@ Rectangle {
|
|||
visible: !isMobile
|
||||
id: customDecorationsCheckBox
|
||||
checked: persistentSettings.customDecorations
|
||||
onClicked: appWindow.setCustomWindowDecorations(checked)
|
||||
onClicked: Windows.setCustomWindowDecorations(checked)
|
||||
text: qsTr("Custom decorations") + translationManager.emptyString
|
||||
}
|
||||
}
|
||||
|
@ -719,17 +721,6 @@ Rectangle {
|
|||
}
|
||||
}
|
||||
|
||||
// Daemon console
|
||||
DaemonConsole {
|
||||
id: daemonConsolePopup
|
||||
height:500
|
||||
width:800
|
||||
title: qsTr("Daemon log") + translationManager.emptyString
|
||||
onAccepted: {
|
||||
close();
|
||||
}
|
||||
}
|
||||
|
||||
// Choose blockchain folder
|
||||
FileDialog {
|
||||
id: blockchainFileDialog
|
||||
|
@ -794,7 +785,7 @@ Rectangle {
|
|||
|
||||
function onDaemonConsoleUpdated(message){
|
||||
// Update daemon console
|
||||
daemonConsolePopup.textArea.append(message)
|
||||
daemonConsolePopup.textArea.logMessage(message)
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue