diff options
Diffstat (limited to 'components/StandardDialog.qml')
| -rw-r--r-- | components/StandardDialog.qml | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/components/StandardDialog.qml b/components/StandardDialog.qml index 6f515f51..f5cce8f4 100644 --- a/components/StandardDialog.qml +++ b/components/StandardDialog.qml @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2024, The Monero Project +// Copyright (c) 2014-2024, The Monzero Project // // All rights reserved. // @@ -33,8 +33,8 @@ import QtQuick.Layouts 1.1 import QtQuick.Controls.Styles 1.4 import QtQuick.Window 2.0 -import "../components" as MoneroComponents -import "effects/" as MoneroEffects +import "../components" as MonzeroComponents +import "effects/" as MonzeroEffects Rectangle { id: root @@ -58,15 +58,15 @@ Rectangle { signal closeCallback(); // background - MoneroEffects.GradientBackground { + MonzeroEffects.GradientBackground { anchors.fill: parent - fallBackColor: MoneroComponents.Style.middlePanelBackgroundColor - initialStartColor: MoneroComponents.Style.middlePanelBackgroundGradientStart - initialStopColor: MoneroComponents.Style.middlePanelBackgroundGradientStop - blackColorStart: MoneroComponents.Style._b_middlePanelBackgroundGradientStart - blackColorStop: MoneroComponents.Style._b_middlePanelBackgroundGradientStop - whiteColorStart: MoneroComponents.Style._w_middlePanelBackgroundGradientStart - whiteColorStop: MoneroComponents.Style._w_middlePanelBackgroundGradientStop + fallBackColor: MonzeroComponents.Style.middlePanelBackgroundColor + initialStartColor: MonzeroComponents.Style.middlePanelBackgroundGradientStart + initialStopColor: MonzeroComponents.Style.middlePanelBackgroundGradientStop + blackColorStart: MonzeroComponents.Style._b_middlePanelBackgroundGradientStart + blackColorStop: MonzeroComponents.Style._b_middlePanelBackgroundGradientStop + whiteColorStart: MonzeroComponents.Style._w_middlePanelBackgroundGradientStart + whiteColorStop: MonzeroComponents.Style._w_middlePanelBackgroundGradientStop start: Qt.point(0, 0) end: Qt.point(height, width) } @@ -112,11 +112,11 @@ Rectangle { Layout.topMargin: 14 Layout.fillWidth: true - MoneroComponents.Label { + MonzeroComponents.Label { id: dialogTitle fontSize: 18 fontFamily: "Arial" - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor } } @@ -138,13 +138,13 @@ Rectangle { Layout.fillWidth: true Layout.fillHeight: true renderType: Text.QtRendering - font.family: MoneroComponents.Style.fontLight.name + font.family: MonzeroComponents.Style.fontLight.name textFormat: TextEdit.AutoText readOnly: true font.pixelSize: 14 selectByMouse: false wrapMode: TextEdit.Wrap - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor MouseArea { anchors.fill: parent @@ -169,7 +169,7 @@ Rectangle { spacing: 60 Layout.alignment: Qt.AlignHCenter - MoneroComponents.StandardButton { + MonzeroComponents.StandardButton { id: cancelButton primary: false text: qsTr("Cancel") + translationManager.emptyString @@ -179,7 +179,7 @@ Rectangle { } } - MoneroComponents.StandardButton { + MonzeroComponents.StandardButton { id: okButton text: qsTr("OK") + translationManager.emptyString KeyNavigation.tab: cancelButton @@ -200,12 +200,12 @@ Rectangle { height: 48 color: "transparent" - MoneroEffects.ImageMask { + MonzeroEffects.ImageMask { anchors.centerIn: parent width: 16 height: 16 - image: MoneroComponents.Style.titleBarCloseSource - color: MoneroComponents.Style.defaultFontColor + image: MonzeroComponents.Style.titleBarCloseSource + color: MonzeroComponents.Style.defaultFontColor opacity: 0.75 } @@ -224,7 +224,7 @@ Rectangle { // window borders Rectangle{ width: 1 - color: MoneroComponents.Style.grey + color: MonzeroComponents.Style.grey anchors.left: parent.left anchors.top: parent.top anchors.bottom: parent.bottom @@ -232,7 +232,7 @@ Rectangle { Rectangle{ width: 1 - color: MoneroComponents.Style.grey + color: MonzeroComponents.Style.grey anchors.right: parent.right anchors.top: parent.top anchors.bottom: parent.bottom @@ -240,7 +240,7 @@ Rectangle { Rectangle{ height: 1 - color: MoneroComponents.Style.grey + color: MonzeroComponents.Style.grey anchors.left: parent.left anchors.top: parent.top anchors.right: parent.right @@ -248,7 +248,7 @@ Rectangle { Rectangle{ height: 1 - color: MoneroComponents.Style.grey + color: MonzeroComponents.Style.grey anchors.left: parent.left anchors.bottom: parent.bottom anchors.right: parent.right |
