Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 25 additions & 12 deletions src/qml/pages/initerrormessage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,35 @@

import QtQuick 2.15
import QtQuick.Controls 2.15
import QtQuick.Layouts 1.15
import "../controls"

ApplicationWindow {
title: "Bitcoin Core TnG"
id: root
visible: true
title: "Bitcoin Core App"
minimumWidth: 500
minimumHeight: 200
minimumHeight: 250
color: Theme.color.background
ColumnLayout {
spacing: 30
anchors.top: parent.top
anchors.horizontalCenter: parent.horizontalCenter
width: 340

Dialog {
anchors.centerIn: parent
title: qsTr("Error")
contentItem:
Label {
text: message
}
visible: true
standardButtons: Dialog.Ok
onAccepted: Qt.quit()
Header {
Layout.topMargin: 30
Layout.fillWidth: true
bold: true
header: qsTr("There was an issue starting up.")
headerSize: 21
description: message
descriptionMargin: 3
}
OutlineButton {
Layout.alignment: Qt.AlignCenter
text: qsTr("Close")
onClicked: Qt.quit()
}
}
}