From cc9cc67775ca1d56d2acf96ba97529d0e322c801 Mon Sep 17 00:00:00 2001 From: Sander van Grieken Date: Thu, 24 Mar 2022 22:00:49 +0100 Subject: [PATCH] add PaneInsetBackground --- .../qml/components/PaneInsetBackground.qml | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 electrum/gui/qml/components/PaneInsetBackground.qml diff --git a/electrum/gui/qml/components/PaneInsetBackground.qml b/electrum/gui/qml/components/PaneInsetBackground.qml new file mode 100644 index 000000000..f9719969a --- /dev/null +++ b/electrum/gui/qml/components/PaneInsetBackground.qml @@ -0,0 +1,33 @@ +import QtQuick 2.6 +import QtQuick.Controls.Material 2.0 + +Rectangle { + Rectangle { + anchors { left: parent.left; top: parent.top; right: parent.right } + height: 1 + color: Qt.darker(Material.background, 1.50) + } + Rectangle { + anchors { left: parent.left; top: parent.top; bottom: parent.bottom } + width: 1 + color: Qt.darker(Material.background, 1.50) + } + Rectangle { + anchors { left: parent.left; bottom: parent.bottom; right: parent.right } + height: 1 + color: Qt.lighter(Material.background, 1.50) + } + Rectangle { + anchors { right: parent.right; top: parent.top; bottom: parent.bottom } + width: 1 + color: Qt.lighter(Material.background, 1.50) + } + color: Qt.darker(Material.background, 1.15) + Image { + source: '../../icons/electrum_lightblue.svg' + anchors.centerIn: parent + sourceSize.width: 128 + sourceSize.height: 128 + opacity: 0.1 + } +}