QT GUI for editing ornamentStyle and playArticulation in the articulation inspector
This commit is contained in:
parent
8911cdd6c9
commit
7c5d7f0716
2 changed files with 74 additions and 2 deletions
|
@ -394,7 +394,9 @@ InspectorArticulation::InspectorArticulation(QWidget* parent)
|
||||||
{ P_ID::USER_OFF, 1, 0, e.offsetY, e.resetY },
|
{ P_ID::USER_OFF, 1, 0, e.offsetY, e.resetY },
|
||||||
{ P_ID::ARTICULATION_ANCHOR, 0, 0, ar.anchor, ar.resetAnchor },
|
{ P_ID::ARTICULATION_ANCHOR, 0, 0, ar.anchor, ar.resetAnchor },
|
||||||
{ P_ID::DIRECTION, 0, 0, ar.direction, ar.resetDirection },
|
{ P_ID::DIRECTION, 0, 0, ar.direction, ar.resetDirection },
|
||||||
{ P_ID::TIME_STRETCH, 0, 0, ar.timeStretch, ar.resetTimeStretch }
|
{ P_ID::TIME_STRETCH, 0, 0, ar.timeStretch, ar.resetTimeStretch },
|
||||||
|
{ P_ID::ORNAMENT_STYLE, 0, 0, ar.ornamentStyle, ar.resetOrnamentStyle },
|
||||||
|
{ P_ID::PLAY_ARTICULATION, 0, 0, ar.playArticulation, ar.resetPlayArticulation}
|
||||||
};
|
};
|
||||||
mapSignals();
|
mapSignals();
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>289</width>
|
<width>290</width>
|
||||||
<height>168</height>
|
<height>168</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
|
@ -226,6 +226,72 @@
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
<item row="3" column="0">
|
||||||
|
<widget class="QLabel" name="label_3">
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Ornament Style</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="3" column="1">
|
||||||
|
<widget class="QComboBox" name="ornamentStyle">
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
|
<property name="accessibleName">
|
||||||
|
<string>Direction</string>
|
||||||
|
</property>
|
||||||
|
<item>
|
||||||
|
<property name="text">
|
||||||
|
<string>default</string>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<property name="text">
|
||||||
|
<string>Baroque</string>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="3" column="2">
|
||||||
|
<widget class="QToolButton" name="resetOrnamentStyle">
|
||||||
|
<property name="accessibleName">
|
||||||
|
<string>Reset Ornament Type value</string>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string notr="true">...</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="4" column="0">
|
||||||
|
<widget class="QCheckBox" name="playArticulation">
|
||||||
|
<property name="text">
|
||||||
|
<string>Play</string>
|
||||||
|
</property>
|
||||||
|
<property name="checked">
|
||||||
|
<bool>false</bool>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="4" column="2">
|
||||||
|
<widget class="QToolButton" name="resetPlayArticulation">
|
||||||
|
<property name="accessibleName">
|
||||||
|
<string>Reset Play value</string>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string notr="true">...</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
|
@ -237,6 +303,10 @@
|
||||||
<tabstop>resetAnchor</tabstop>
|
<tabstop>resetAnchor</tabstop>
|
||||||
<tabstop>timeStretch</tabstop>
|
<tabstop>timeStretch</tabstop>
|
||||||
<tabstop>resetTimeStretch</tabstop>
|
<tabstop>resetTimeStretch</tabstop>
|
||||||
|
<tabstop>ornamentStyle</tabstop>
|
||||||
|
<tabstop>resetOrnamentStyle</tabstop>
|
||||||
|
<tabstop>playArticulation</tabstop>
|
||||||
|
<tabstop>resetPlayArticulation</tabstop>
|
||||||
</tabstops>
|
</tabstops>
|
||||||
<resources>
|
<resources>
|
||||||
<include location="../musescore.qrc"/>
|
<include location="../musescore.qrc"/>
|
||||||
|
|
Loading…
Reference in a new issue