diff options
Diffstat (limited to 'components/CheckBox.qml')
| -rw-r--r-- | components/CheckBox.qml | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/components/CheckBox.qml b/components/CheckBox.qml index d0615e0f..444b7f3d 100644 --- a/components/CheckBox.qml +++ b/components/CheckBox.qml @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2024, The Monero Project +// Copyright (c) 2014-2024, The Monzero Project // // All rights reserved. // @@ -30,8 +30,8 @@ import QtQuick 2.9 import QtQuick.Layouts 1.1 import FontAwesome 1.0 -import "." as MoneroComponents -import "effects/" as MoneroEffects +import "." as MonzeroComponents +import "effects/" as MonzeroEffects Item { id: checkBox @@ -82,22 +82,22 @@ Item { visible: checkBox.border anchors.fill: parent radius: 3 - color: checkBox.enabled ? "transparent" : MoneroComponents.Style.inputBoxBackgroundDisabled + color: checkBox.enabled ? "transparent" : MonzeroComponents.Style.inputBoxBackgroundDisabled border.color: if (checkBox.activeFocus) { - return MoneroComponents.Style.inputBorderColorActive; + return MonzeroComponents.Style.inputBorderColorActive; } else { - return MoneroComponents.Style.inputBorderColorInActive; + return MonzeroComponents.Style.inputBorderColorInActive; } } - MoneroEffects.ImageMask { + MonzeroEffects.ImageMask { id: img visible: checkBox.checked || checkBox.uncheckedIcon != "" anchors.centerIn: parent width: checkBox.imgWidth height: checkBox.imgHeight - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor fontAwesomeFallbackIcon: checkBox.fontAwesomeIcons ? getIcon() : FontAwesome.plus fontAwesomeFallbackSize: 14 image: checkBox.fontAwesomeIcons ? "" : getIcon() @@ -110,11 +110,11 @@ Item { } } - MoneroComponents.TextPlain { + MonzeroComponents.TextPlain { id: label - font.family: MoneroComponents.Style.fontRegular.name + font.family: MonzeroComponents.Style.fontRegular.name font.pixelSize: checkBox.fontSize - color: MoneroComponents.Style.defaultFontColor + color: MonzeroComponents.Style.defaultFontColor textFormat: Text.RichText wrapMode: Text.NoWrap visible: text != "" |
