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/ContextMenu.qml | |
| parent | 81f33c7e00bf183823909a02e6d96ce11e41adce (diff) | |
| download | monzero-gui-dceeb88444ce966caa1a133d2926d5f7213c87ff.tar.gz monzero-gui-dceeb88444ce966caa1a133d2926d5f7213c87ff.tar.xz monzero-gui-dceeb88444ce966caa1a133d2926d5f7213c87ff.zip | |
Establish Monzero GUI Phase 0 baselinemonzero-gui-phase0-20260815
Diffstat (limited to 'components/ContextMenu.qml')
| -rw-r--r-- | components/ContextMenu.qml | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/components/ContextMenu.qml b/components/ContextMenu.qml index efbd38ab..0b3a37d0 100644 --- a/components/ContextMenu.qml +++ b/components/ContextMenu.qml @@ -2,7 +2,7 @@ import QtQuick 2.9 import QtQuick.Controls 2.2 import FontAwesome 1.0 -import "../components" as MoneroComponents +import "../components" as MonzeroComponents MouseArea { signal cut() @@ -26,10 +26,10 @@ MouseArea { id: contextMenu background: Rectangle { - border.color: MoneroComponents.Style.buttonBackgroundColorDisabledHover + border.color: MonzeroComponents.Style.buttonBackgroundColorDisabledHover border.width: 1 radius: 2 - color: MoneroComponents.Style.blackTheme ? MoneroComponents.Style.buttonBackgroundColorDisabled : "#E5E5E5" + color: MonzeroComponents.Style.blackTheme ? MonzeroComponents.Style.buttonBackgroundColorDisabled : "#E5E5E5" } padding: 1 @@ -45,31 +45,31 @@ MouseArea { root.parent.forceActiveFocus() } - MoneroComponents.ContextMenuItem { + MonzeroComponents.ContextMenuItem { enabled: root.parent.selectedText != "" && !root.parent.readOnly onTriggered: root.cut() text: qsTr("Cut") + translationManager.emptyString } - MoneroComponents.ContextMenuItem { + MonzeroComponents.ContextMenuItem { enabled: root.parent.selectedText != "" onTriggered: root.copy() text: qsTr("Copy") + translationManager.emptyString } - MoneroComponents.ContextMenuItem { + MonzeroComponents.ContextMenuItem { enabled: root.parent.canPaste === true onTriggered: root.paste() text: qsTr("Paste") + translationManager.emptyString } - MoneroComponents.ContextMenuItem { + MonzeroComponents.ContextMenuItem { enabled: root.parent.selectedText != "" && !root.parent.readOnly onTriggered: root.remove() text: qsTr("Delete") + translationManager.emptyString } - MoneroComponents.ContextMenuItem { + MonzeroComponents.ContextMenuItem { enabled: root.parent.text != "" onTriggered: root.selectAll() text: qsTr("Select All") + translationManager.emptyString |
