55 int string = STRING_NONE;
126 bool canSelect(
const Element*)
const;
127 bool canSelectVoice(
int track)
const;
157 QByteArray staffMimeData()
const;
158 QByteArray symbolListMimeData()
const;
161 bool canSelectVoice(
int track)
const {
return selectionFilter().canSelectVoice(track); }
162 void appendFiltered(
Element* e);
163 void appendChord(
Chord* chord);
175 const QList<Element*>&
elements()
const {
return _el; }
176 std::vector<Note*>
noteList(
int track = -1)
const;
178 const QList<Element*> uniqueElements()
const;
179 QList<Note*> uniqueNotes(
int track = -1)
const;
189 Segment* firstChordRestSegment()
const;
190 ChordRest* firstChordRest(
int track = -1)
const;
191 ChordRest* lastChordRest(
int track = -1)
const;
196 QString mimeType()
const;
197 QByteArray mimeData()
const;
204 void setRangeTicks(
const Fraction& tick1,
const Fraction& tick2,
int staffStart,
int staffEnd);
208 bool isStartActive()
const;
209 bool isEndActive()
const;
219 bool canCopy()
const;
220 void updateSelectedElements();
222 void extendRangeSelection(
ChordRest* cr);
int staffEnd
Definition: select.h:41
bool isSingle() const
Definition: select.h:181
Definition: durationtype.h:28
SelState
Definition: select.h:71
const System * system
Definition: select.h:64
bool canSelectVoice(int track) const
Definition: select.h:161
bool isList() const
Definition: select.h:172
Score * _score
Definition: select.h:116
bool subtypeValid
Definition: select.h:44
int activeTrack() const
Definition: select.h:215
one measure in a system
Definition: measure.h:65
bool isNone() const
Definition: select.h:170
SelState _state
Definition: select.h:138
int staffEnd
Definition: select.h:62
const QList< Element * > & elements() const
Definition: select.h:175
Base class of score layout elements.
Definition: element.h:158
Score * _score
Definition: select.h:137
bool isFiltered(SelectionFilterType type) const
Definition: select.h:125
void setStaffEnd(int v)
Definition: select.h:217
int _activeTrack
Definition: select.h:152
void setStaffStart(int v)
Definition: select.h:216
Segment * _activeSegment
Definition: select.h:151
QList< Element * > _el
Definition: select.h:139
SelectionFilter(Score *score)
Definition: select.h:122
int _staffStart
Definition: select.h:141
void setActiveSegment(Segment *s)
Definition: select.h:206
bool isRange() const
Definition: select.h:171
Segment * _startSegment
Definition: select.h:143
SelectionFilter()
Definition: select.h:120
int _staffEnd
Definition: select.h:142
int staffEnd() const
Definition: select.h:214
Score * score() const
Definition: select.h:168
int _filtered
Definition: select.h:117
int & filtered()
Definition: select.h:123
void setActiveTrack(int v)
Definition: select.h:218
SelectionFilter(SelectionFilterType f)
Definition: select.h:121
int staffStart
Definition: select.h:61
Definition: aeolus.cpp:26
Segment * activeSegment() const
Definition: select.h:205
Definition: pitchspelling.h:41
Fraction durationTicks
Definition: select.h:59
NoteType
Definition: types.h:255
void setStartSegment(Segment *s)
Definition: select.h:201
int _currentTrack
Definition: select.h:155
int staffStart() const
Definition: select.h:213
int voice
Definition: select.h:42
QList< Note * > el
Definition: select.h:53
Segment * startSegment() const
Definition: select.h:199
Graphic representation of a chord.
Definition: chord.h:55
int voice
Definition: select.h:63
Fraction durationTicks
Definition: select.h:45
Definition: chordrest.h:48
bool canSelect(Element *e) const
Definition: select.h:160
int staffStart
Definition: select.h:40
Selection()
Definition: select.h:166
void setEndSegment(Segment *s)
Definition: select.h:202
Group
Definition: note.h:56
int tpc(int idx, int pitch, int opt)
Definition: pitchspelling.cpp:539
QList< Element * > el
Definition: select.h:37
One row of measures for all instruments; a complete piece of the timeline.
Definition: system.h:79
Definition: fraction.h:46
SelState state() const
Definition: select.h:169
int type
Definition: select.h:38
const System * system
Definition: select.h:43
SelectionFilterType
Definition: select.h:84
Segment * _endSegment
Definition: select.h:144
int subtype
Definition: select.h:39
QList< int > noteList
Definition: bagpembell.h:20
Segment * endSegment() const
Definition: select.h:200
Fraction _currentTick
Definition: select.h:154