Lines Matching refs:getAction

99       getAction("pad-rest")->setChecked(is.rest());  in updateInputState()
100 getAction("pad-dot")->setChecked(is.duration().dots() == 1); in updateInputState()
101 getAction("pad-dotdot")->setChecked(is.duration().dots() == 2); in updateInputState()
102 getAction("pad-dot3")->setChecked(is.duration().dots() == 3); in updateInputState()
103 getAction("pad-dot4")->setChecked(is.duration().dots() == 4); in updateInputState()
105 getAction("pad-dot")->setEnabled(true); in updateInputState()
106 getAction("pad-dotdot")->setEnabled(true); in updateInputState()
107 getAction("pad-dot3")->setEnabled(true); in updateInputState()
108 getAction("pad-dot4")->setEnabled(true); in updateInputState()
112 getAction("pad-dot")->setChecked(false); in updateInputState()
113 getAction("pad-dot")->setEnabled(false); in updateInputState()
116 getAction("pad-dotdot")->setChecked(false); in updateInputState()
117 getAction("pad-dotdot")->setEnabled(false); in updateInputState()
120 getAction("pad-dot3")->setChecked(false); in updateInputState()
121 getAction("pad-dot3")->setEnabled(false); in updateInputState()
124 getAction("pad-dot4")->setChecked(false); in updateInputState()
125 getAction("pad-dot4")->setEnabled(false); in updateInputState()
130 getAction("note-longa")->setChecked(is.duration() == TDuration::DurationType::V_LONG); in updateInputState()
131 getAction("note-breve")->setChecked(is.duration() == TDuration::DurationType::V_BREVE); in updateInputState()
132 getAction("pad-note-1")->setChecked(is.duration() == TDuration::DurationType::V_WHOLE); in updateInputState()
133 getAction("pad-note-2")->setChecked(is.duration() == TDuration::DurationType::V_HALF); in updateInputState()
134 getAction("pad-note-4")->setChecked(is.duration() == TDuration::DurationType::V_QUARTER); in updateInputState()
135 getAction("pad-note-8")->setChecked(is.duration() == TDuration::DurationType::V_EIGHTH); in updateInputState()
136 getAction("pad-note-16")->setChecked(is.duration() == TDuration::DurationType::V_16TH); in updateInputState()
137 getAction("pad-note-32")->setChecked(is.duration() == TDuration::DurationType::V_32ND); in updateInputState()
138 getAction("pad-note-64")->setChecked(is.duration() == TDuration::DurationType::V_64TH); in updateInputState()
139 getAction("pad-note-128")->setChecked(is.duration() == TDuration::DurationType::V_128TH); in updateInputState()
140 getAction("pad-note-256")->setChecked(is.duration() == TDuration::DurationType::V_256TH); in updateInputState()
141 getAction("pad-note-512")->setChecked(is.duration() == TDuration::DurationType::V_512TH); in updateInputState()
142 getAction("pad-note-1024")->setChecked(is.duration() == TDuration::DurationType::V_1024TH); in updateInputState()
144 getAction("sharp2")->setChecked(is.accidentalType() == AccidentalType::SHARP2); in updateInputState()
145 getAction("sharp")->setChecked(is.accidentalType() == AccidentalType::SHARP); in updateInputState()
146 getAction("nat")->setChecked(is.accidentalType() == AccidentalType::NATURAL); in updateInputState()
147 getAction("flat")->setChecked(is.accidentalType() == AccidentalType::FLAT); in updateInputState()
148 getAction("flat2")->setChecked(is.accidentalType() == AccidentalType::FLAT2); in updateInputState()
152 getAction("voice-1")->setChecked(voice == 0); in updateInputState()
153 getAction("voice-2")->setChecked(voice == 1); in updateInputState()
154 getAction("voice-3")->setChecked(voice == 2); in updateInputState()
155 getAction("voice-4")->setChecked(voice == 3); in updateInputState()
157 QAction* tieAction = getAction("tie"); in updateInputState()
172 getAction("acciaccatura")->setChecked(is.noteType() == NoteType::ACCIACCATURA); in updateInputState()
173 getAction("appoggiatura")->setChecked(is.noteType() == NoteType::APPOGGIATURA); in updateInputState()
174 getAction("grace4")->setChecked(is.noteType() == NoteType::GRACE4); in updateInputState()
175 getAction("grace16")->setChecked(is.noteType() == NoteType::GRACE16); in updateInputState()
176 getAction("grace32")->setChecked(is.noteType() == NoteType::GRACE32); in updateInputState()
177 getAction("grace8after")->setChecked(is.noteType() == NoteType::GRACE8_AFTER); in updateInputState()
178 getAction("grace16after")->setChecked(is.noteType() == NoteType::GRACE16_AFTER); in updateInputState()
179 getAction("grace32after")->setChecked(is.noteType() == NoteType::GRACE32_AFTER); in updateInputState()
180 getAction("beam-start")->setChecked(is.beamMode() == Beam::Mode::BEGIN); in updateInputState()
181 getAction("beam-mid")->setChecked(is.beamMode() == Beam::Mode::MID); in updateInputState()
182 getAction("no-beam")->setChecked(is.beamMode() == Beam::Mode::NONE); in updateInputState()
183 getAction("beam32")->setChecked(is.beamMode() == Beam::Mode::BEGIN32); in updateInputState()
184 getAction("beam64")->setChecked(is.beamMode() == Beam::Mode::BEGIN64); in updateInputState()
185 getAction("auto-beam")->setChecked(is.beamMode() == Beam::Mode::AUTO); in updateInputState()