diff options
| author | Monzero Build System <builds@monzero.org> | 2026-08-15 21:26:40 +0100 |
|---|---|---|
| committer | Monzero Build System <builds@monzero.org> | 2026-08-15 21:26:40 +0100 |
| commit | dceeb88444ce966caa1a133d2926d5f7213c87ff (patch) | |
| tree | d74c9c7d7e43c2a0d39d656c690c63050cff7f53 /components/CheckBox.qml | |
| parent | 81f33c7e00bf183823909a02e6d96ce11e41adce (diff) | |
| download | monzero-gui-phase0-20260815.tar.gz monzero-gui-phase0-20260815.tar.xz monzero-gui-phase0-20260815.zip | |
Establish Monzero GUI Phase 0 baselinemonzero-gui-phase0-20260815
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 != "" |
