Skip to content

Commit 112d998

Browse files
committed
Update MusescoreIcon file and use HP icons
1 parent 2192080 commit 112d998

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed
3.74 KB
Binary file not shown.

src/framework/ui/view/iconcodes.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -488,6 +488,9 @@ class IconCode
488488
FRET_FRAME = 0xF491,
489489
DURATION_CURSOR = 0xF492,
490490

491+
LOWER_CASE = 0xF49E,
492+
UPPER_CASE = 0xF49F,
493+
491494
NONE = 0xFFFF
492495
};
493496

src/notation/qml/MuseScore/NotationScene/internal/EditStyle/HammerOnPullOffTappingPage.qml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,14 +103,14 @@ StyledFlickable {
103103
spacing: 6
104104

105105
model: [
106-
{text: qsTrc("notation/editstyle/hammeronpulloff", "HP"), value: true },
107-
{text: qsTrc("notation/editstyle/hammeronpulloff", "hp"), value: false },
106+
{iconCode: IconCode.UPPER_CASE, value: true },
107+
{iconCode: IconCode.LOWER_CASE, value: false },
108108
]
109109

110110
delegate: FlatRadioButton {
111111
width: 40
112112
height: 30
113-
text: modelData.text
113+
iconCode: modelData.iconCode
114114
checked: hopoPage.hopoUpperCase.value === modelData.value
115115
onToggled: hopoPage.hopoUpperCase.value = modelData.value
116116
}

0 commit comments

Comments
 (0)