|
| Measure (Score *=0) |
|
| Measure (const Measure &) |
|
| ~Measure () |
|
virtual Measure * | clone () const override |
|
virtual ElementType | type () const override |
|
virtual void | setScore (Score *s) override |
|
Measure * | cloneMeasure (Score *, const Fraction &tick, TieMap *) |
|
void | read (XmlReader &, int idx) |
|
void | read (XmlReader &d) |
|
virtual void | readAddConnector (ConnectorInfoReader *info, bool pasteMode) override |
|
virtual void | write (XmlWriter &xml) const override |
|
void | write (XmlWriter &, int, bool writeSystemElements, bool forceTimeSig) const |
|
void | writeBox (XmlWriter &) const |
|
void | readBox (XmlReader &) |
|
virtual bool | isEditable () const override |
|
void | checkMeasure (int idx) |
|
virtual void | add (Element *) override |
| Add new Element el to Measure. More...
|
|
virtual void | remove (Element *) override |
| Remove Element el from Measure. More...
|
|
virtual void | change (Element *o, Element *n) override |
|
virtual void | spatiumChanged (qreal oldValue, qreal newValue) override |
|
System * | system () const |
|
bool | hasVoices (int staffIdx) const |
|
void | setHasVoices (int staffIdx, bool v) |
|
StaffLines * | staffLines (int staffIdx) |
|
Spacer * | vspacerDown (int staffIdx) const |
|
Spacer * | vspacerUp (int staffIdx) const |
|
void | setStaffVisible (int staffIdx, bool visible) |
|
void | setStaffStemless (int staffIdx, bool stemless) |
|
bool | corrupted (int staffIdx) const |
|
void | setCorrupted (int staffIdx, bool val) |
|
void | setNoText (int staffIdx, MeasureNumber *) |
|
MeasureNumber * | noText (int staffIdx) const |
|
void | createStaves (int) |
|
MeasureNumberMode | measureNumberMode () const |
|
void | setMeasureNumberMode (MeasureNumberMode v) |
|
Fraction | timesig () const |
|
void | setTimesig (const Fraction &f) |
|
Fraction | stretchedLen (Staff *) const |
|
bool | isIrregular () const |
|
int | size () const |
|
Ms::Segment * | first () const |
|
Segment * | first (SegmentType t) const |
|
Segment * | firstEnabled () const |
|
Ms::Segment * | last () const |
|
SegmentList & | segments () |
|
const SegmentList & | segments () const |
|
qreal | userStretch () const |
|
void | setUserStretch (qreal v) |
|
void | stretchMeasure (qreal stretch) |
|
Fraction | computeTicks () |
|
void | layout2 () |
|
void | layoutMeasureNumber () |
|
Chord * | findChord (Fraction tick, int track) |
| Search for chord at position tick in track. More...
|
|
ChordRest * | findChordRest (Fraction tick, int track) |
| Search for chord or rest at position tick at staff in voice. More...
|
|
Fraction | snap (const Fraction &tick, const QPointF p) const |
|
Fraction | snapNote (const Fraction &tick, const QPointF p, int staff) const |
|
void | insertStaff (Staff *, int staff) |
|
void | insertMStaff (MStaff *staff, int idx) |
|
void | removeMStaff (MStaff *staff, int idx) |
|
virtual void | moveTicks (const Fraction &diff) override |
|
void | cmdRemoveStaves (int s, int e) |
|
void | cmdAddStaves (int s, int e, bool createRest) |
|
void | removeStaves (int s, int e) |
|
void | insertStaves (int s, int e) |
|
qreal | tick2pos (Fraction) const |
|
Segment * | tick2segment (const Fraction &tick, SegmentType st=SegmentType::ChordRest) |
|
void | sortStaves (QList< int > &dst) |
|
virtual bool | acceptDrop (EditData &) const override |
| Return true if an Element of type type can be dropped on a Measure. More...
|
|
virtual Element * | drop (EditData &) override |
| Drop element. More...
|
|
int | repeatCount () const |
|
void | setRepeatCount (int val) |
|
Segment * | findSegmentR (SegmentType st, const Fraction &) const |
|
Segment * | undoGetSegmentR (SegmentType st, const Fraction &f) |
|
Segment * | getSegmentR (SegmentType st, const Fraction &f) |
| Get a segment of type st at relative tick position t. More...
|
|
Segment * | findFirstR (SegmentType st, const Fraction &rtick) const |
|
Segment * | findSegment (SegmentType st, const Fraction &f) const |
|
Segment * | undoGetSegment (SegmentType st, const Fraction &f) |
|
Segment * | getSegment (SegmentType st, const Fraction &f) |
|
void | connectTremolo () |
| Connect two-notes tremolo and update duration types for the involved chords. More...
|
|
qreal | createEndBarLines (bool) |
|
void | barLinesSetSpan (Segment *) |
|
void | setEndBarLineType (BarLineType val, int track, bool visible=true, QColor color=QColor()) |
|
RepeatMeasure * | cmdInsertRepeatMeasure (int staffIdx) |
|
virtual void | scanElements (void *data, void(*func)(void *, Element *), bool all=true) override |
|
void | createVoice (int track) |
|
void | adjustToLen (Fraction, bool appendRestsIfNecessary=true) |
|
AccidentalVal | findAccidental (Note *) const |
| return current accidental value at note position More...
|
|
AccidentalVal | findAccidental (Segment *s, int staffIdx, int line, bool &error) const |
| Compute accidental state at segment/staffIdx for relative staff line. More...
|
|
void | exchangeVoice (int voice1, int voice2, int staffIdx) |
|
void | checkMultiVoices (int staffIdx) |
| Check for more than on voice in this measure and staff and set MStaff->hasVoices. More...
|
|
bool | hasVoice (int track) const |
|
bool | isEmpty (int staffIdx) const |
| Check if the measure is filled by a full-measure rest, or is full of rests on this staff, that may have fermatas on them. More...
|
|
bool | isFullMeasureRest () const |
|
bool | isRepeatMeasure (const Staff *staff) const |
|
bool | visible (int staffIdx) const |
|
bool | stemless (int staffIdx) const |
|
bool | isFinalMeasureOfSection () const |
|
bool | isAnacrusis () const |
|
bool | breakMultiMeasureRest () const |
|
void | setBreakMultiMeasureRest (bool val) |
|
bool | empty () const |
|
bool | isOnlyRests (int track) const |
|
bool | isOnlyDeletedRests (int track) const |
|
bool | isOnlyDeletedRests (int track, const Fraction &stick, const Fraction &etick) const |
|
int | playbackCount () const |
|
void | setPlaybackCount (int val) |
|
QRectF | staffabbox (int staffIdx) const |
|
virtual QVariant | getProperty (Pid propertyId) const override |
|
virtual bool | setProperty (Pid propertyId, const QVariant &) override |
|
virtual QVariant | propertyDefault (Pid) const override |
|
bool | hasMMRest () const |
|
bool | isMMRest () const |
|
Measure * | mmRest () const |
|
const Measure * | mmRest1 () const |
|
void | setMMRest (Measure *m) |
|
int | mmRestCount () const |
|
void | setMMRestCount (int n) |
|
Measure * | mmRestFirst () const |
|
Measure * | mmRestLast () const |
|
Element * | nextElementStaff (int staff) |
|
Element * | prevElementStaff (int staff) |
|
virtual QString | accessibleInfo () const override |
|
void | addSystemHeader (bool firstSystem) |
| Add elements to make this measure suitable as the first measure of a system. More...
|
|
void | addSystemTrailer (Measure *nm) |
|
void | removeSystemHeader () |
|
void | removeSystemTrailer () |
|
const BarLine * | endBarLine () const |
|
BarLineType | endBarLineType () const |
|
bool | endBarLineVisible () const |
|
virtual void | triggerLayout () const override |
|
qreal | basicStretch () const |
|
qreal | basicWidth () const |
|
int | layoutWeight (int maxMMRestLength=0) const |
|
virtual void | computeMinWidth () |
|
void | checkHeader () |
|
void | checkTrailer () |
|
void | setStretchedWidth (qreal) |
|
void | layoutStaffLines () |
|
| MeasureBase (Score *score=0) |
|
| ~MeasureBase () |
|
| MeasureBase (const MeasureBase &) |
|
MeasureBase * | next () const |
|
MeasureBase * | nextMM () const |
|
void | setNext (MeasureBase *e) |
|
MeasureBase * | prev () const |
|
void | setPrev (MeasureBase *e) |
|
Ms::Measure * | nextMeasure () const |
|
Ms::Measure * | prevMeasure () const |
|
Ms::Measure * | nextMeasureMM () const |
|
Ms::Measure * | prevMeasureMM () const |
|
virtual void | layout () |
|
ElementList & | el () |
|
const ElementList & | el () const |
|
System * | system () const |
|
void | setSystem (System *s) |
|
LayoutBreak * | sectionBreakElement () const |
|
void | undoSetBreak (bool v, LayoutBreak::Type type) |
|
void | undoSetLineBreak (bool v) |
|
void | undoSetPageBreak (bool v) |
|
void | undoSetSectionBreak (bool v) |
|
void | undoSetNoBreak (bool v) |
|
virtual void | writeProperties (XmlWriter &) const override |
|
virtual bool | readProperties (XmlReader &) override |
|
Fraction | tick () const |
|
void | setTick (const Fraction &f) |
|
Fraction | ticks () const |
|
void | setTicks (const Fraction &f) |
|
Fraction | endTick () const |
|
void | triggerLayout () const override |
|
qreal | pause () const |
|
void | clearElements () |
|
ElementList | takeElements () |
|
int | no () const |
|
void | setNo (int n) |
|
int | noOffset () const |
|
void | setNoOffset (int n) |
|
bool | repeatEnd () const |
|
void | setRepeatEnd (bool v) |
|
bool | repeatStart () const |
|
void | setRepeatStart (bool v) |
|
bool | repeatJump () const |
|
void | setRepeatJump (bool v) |
|
bool | irregular () const |
|
void | setIrregular (bool v) |
|
bool | lineBreak () const |
|
void | setLineBreak (bool v) |
|
bool | pageBreak () const |
|
void | setPageBreak (bool v) |
|
bool | sectionBreak () const |
|
void | setSectionBreak (bool v) |
|
bool | noBreak () const |
|
void | setNoBreak (bool v) |
|
bool | hasCourtesyKeySig () const |
|
void | setHasCourtesyKeySig (int v) |
|
int | index () const |
|
int | measureIndex () const |
|
| Element (Score *=0, ElementFlags=ElementFlag::NOTHING) |
|
| Element (const Element &) |
|
virtual | ~Element () |
|
Element & | operator= (const Element &)=delete |
|
virtual Element * | linkedClone () |
|
Element * | parent () const |
|
void | setParent (Element *e) |
|
Measure * | findMeasure () |
|
const Measure * | findMeasure () const |
|
MeasureBase * | findMeasureBase () |
|
const MeasureBase * | findMeasureBase () const |
|
virtual bool | isElement () const override |
|
qreal | spatium () const |
|
void | setFlag (ElementFlag f, bool v) |
|
void | setFlag (ElementFlag f, bool v) const |
|
bool | flag (ElementFlag f) const |
|
bool | selected () const |
|
virtual void | setSelected (bool f) |
|
bool | visible () const |
|
virtual void | setVisible (bool f) |
|
virtual bool | sizeIsSpatiumDependent () const override |
|
void | setSizeIsSpatiumDependent (bool v) |
|
Placement | placement () const |
|
void | setPlacement (Placement val) |
|
bool | placeAbove () const |
|
bool | placeBelow () const |
|
bool | generated () const |
|
void | setGenerated (bool val) |
|
Spatium | minDistance () const |
|
void | setMinDistance (Spatium v) |
|
OffsetChange | offsetChanged () const |
|
void | setOffsetChanged (bool v, bool absolute=true, const QPointF &diff=QPointF()) |
|
const QPointF & | ipos () const |
|
virtual const QPointF | pos () const |
|
virtual qreal | x () const |
|
virtual qreal | y () const |
|
void | setPos (qreal x, qreal y) |
|
void | setPos (const QPointF &p) |
|
QPointF & | rpos () |
|
qreal & | rxpos () |
|
qreal & | rypos () |
|
virtual void | move (const QPointF &s) |
|
virtual QPointF | pagePos () const |
| position in page coordinates More...
|
|
virtual QPointF | canvasPos () const |
| position in canvas coordinates More...
|
|
qreal | pageX () const |
|
qreal | canvasX () const |
|
const QPointF & | offset () const |
|
virtual void | setOffset (const QPointF &o) |
|
void | setOffset (qreal x, qreal y) |
|
QPointF & | roffset () |
|
qreal & | rxoffset () |
|
qreal & | ryoffset () |
|
virtual Fraction | rtick () const |
|
bool | isNudged () const |
|
virtual const QRectF & | bbox () const |
|
virtual QRectF & | bbox () |
|
virtual qreal | height () const |
|
virtual void | setHeight (qreal v) |
|
virtual qreal | width () const |
|
virtual void | setWidth (qreal v) |
|
QRectF | abbox () const |
|
QRectF | pageBoundingRect () const |
|
QRectF | canvasBoundingRect () const |
|
virtual void | setbbox (const QRectF &r) const |
|
virtual void | addbbox (const QRectF &r) const |
|
bool | contains (const QPointF &p) const |
|
bool | intersects (const QRectF &r) const |
|
virtual Shape | shape () const |
|
virtual qreal | baseLine () const |
|
virtual int | subtype () const |
|
virtual void | draw (QPainter *) const |
|
void | drawAt (QPainter *p, const QPointF &pt) const |
|
virtual void | startDrag (EditData &) |
|
virtual QRectF | drag (EditData &) |
| Return update Rect relative to canvas. More...
|
|
virtual void | endDrag (EditData &) |
|
virtual QLineF | dragAnchor () const |
|
virtual void | startEdit (EditData &) |
|
virtual bool | edit (EditData &) |
|
virtual void | startEditDrag (EditData &) |
|
virtual void | editDrag (EditData &) |
|
virtual void | endEditDrag (EditData &) |
|
virtual void | endEdit (EditData &) |
|
virtual void | editCut (EditData &) |
|
virtual void | editCopy (EditData &) |
|
void | updateGrips (EditData &) const |
|
virtual bool | nextGrip (EditData &) const |
|
virtual bool | prevGrip (EditData &) const |
|
virtual QPointF | gripAnchor (Grip) const |
|
virtual EditBehavior | normalModeEditBehavior () const |
|
virtual int | gripsCount () const |
|
virtual Grip | initialEditModeGrip () const |
|
virtual Grip | defaultGrip () const |
|
virtual std::vector< QPointF > | gripsPositions (const EditData &) const |
|
int | track () const |
|
virtual void | setTrack (int val) |
|
int | z () const |
|
void | setZ (int val) |
|
int | staffIdx () const |
|
virtual int | vStaffIdx () const |
|
int | voice () const |
|
void | setVoice (int v) |
|
Staff * | staff () const |
|
StaffType * | staffType () const |
|
Part * | part () const |
|
virtual void | localSpatiumChanged (qreal, qreal) |
|
virtual void | dump () const |
|
virtual Q_INVOKABLE QString | subtypeName () const |
|
virtual Q_INVOKABLE QString | _name () const |
|
virtual QColor | color () const |
|
QColor | curColor () const |
|
QColor | curColor (bool isVisible) const |
|
QColor | curColor (bool isVisible, QColor normalColor) const |
|
virtual void | setColor (const QColor &c) |
|
void | undoSetColor (const QColor &c) |
|
void | undoSetVisible (bool v) |
|
virtual QByteArray | mimeData (const QPointF &) const |
|
virtual bool | mousePress (EditData &) |
| delivers mouseEvent to element in edit mode returns true if mouse event is accepted by element More...
|
|
virtual void | reset () override |
|
virtual qreal | mag () const |
|
void | setMag (qreal val) |
|
qreal | magS () const |
|
bool | isPrintable () const |
|
qreal | point (const Spatium sp) const |
|
bool | systemFlag () const |
|
void | setSystemFlag (bool v) const |
|
bool | header () const |
|
void | setHeader (bool v) |
|
bool | trailer () const |
|
void | setTrailer (bool val) |
|
bool | selectable () const |
|
void | setSelectable (bool val) |
|
bool | dropTarget () const |
|
void | setDropTarget (bool v) const |
|
bool | composition () const |
|
void | setComposition (bool v) const |
|
virtual bool | isMovable () const |
|
bool | enabled () const |
|
void | setEnabled (bool val) |
|
uint | tag () const |
|
void | setTag (uint val) |
|
bool | autoplace () const |
|
virtual void | setAutoplace (bool v) |
|
bool | addToSkyline () const |
|
virtual void | undoChangeProperty (Pid id, const QVariant &, PropertyFlags ps) override |
|
virtual Pid | propertyId (const QStringRef &xmlName) const override |
|
virtual QString | propertyUserValue (Pid) const override |
|
virtual Element * | propertyDelegate (Pid) |
|
bool | custom (Pid) const |
|
virtual bool | isUserModified () const |
|
void | drawSymbol (SymId id, QPainter *p, const QPointF &o=QPointF(), qreal scale=1.0) const |
|
void | drawSymbol (SymId id, QPainter *p, const QPointF &o, int n) const |
|
void | drawSymbols (const std::vector< SymId > &, QPainter *p, const QPointF &o=QPointF(), qreal scale=1.0) const |
|
void | drawSymbols (const std::vector< SymId > &, QPainter *p, const QPointF &o, const QSizeF &scale) const |
|
qreal | symHeight (SymId id) const |
|
qreal | symWidth (SymId id) const |
|
qreal | symWidth (const std::vector< SymId > &) const |
|
QRectF | symBbox (SymId id) const |
|
QRectF | symBbox (const std::vector< SymId > &) const |
|
QPointF | symStemDownNW (SymId id) const |
|
QPointF | symStemUpSE (SymId id) const |
|
QPointF | symCutOutNE (SymId id) const |
|
QPointF | symCutOutNW (SymId id) const |
|
QPointF | symCutOutSE (SymId id) const |
|
QPointF | symCutOutSW (SymId id) const |
|
qreal | symAdvance (SymId id) const |
|
bool | symIsValid (SymId id) const |
|
bool | concertPitch () const |
|
virtual Element * | nextElement () |
|
virtual Element * | prevElement () |
|
virtual Element * | nextSegmentElement () |
|
virtual Element * | prevSegmentElement () |
|
virtual QString | screenReaderInfo () const |
|
virtual QString | accessibleExtraInfo () const |
|
virtual void | triggerLayoutAll () const |
|
virtual void | drawEditMode (QPainter *, EditData &) |
|
void | autoplaceSegmentElement (bool above, bool add) |
|
void | autoplaceMeasureElement (bool above, bool add) |
|
void | autoplaceSegmentElement (bool add=true) |
|
void | autoplaceMeasureElement (bool add=true) |
|
void | autoplaceCalculateOffset (QRectF &r, qreal minDistance) |
|
qreal | rebaseOffset (bool nox=true) |
|
bool | rebaseMinDistance (qreal &md, qreal &yd, qreal sp, qreal rebase, bool above, bool fix) |
|
qreal | styleP (Sid idx) const |
|
| ScoreElement (Score *s) |
|
| ScoreElement (const ScoreElement &se) |
|
virtual | ~ScoreElement () |
|
Score * | score () const |
|
MasterScore * | masterScore () const |
|
const char * | name () const |
|
virtual QString | userName () const |
|
virtual void | resetProperty (Pid id) |
|
QVariant | propertyDefault (Pid pid, Tid tid) const |
|
virtual void | initElementStyle (const ElementStyle *) |
|
virtual const ElementStyle * | styledProperties () const |
|
virtual PropertyFlags * | propertyFlagsList () const |
|
virtual PropertyFlags | propertyFlags (Pid) const |
|
bool | isStyled (Pid pid) const |
|
QVariant | styleValue (Pid, Sid) const |
|
void | setPropertyFlags (Pid, PropertyFlags) |
|
virtual Sid | getPropertyStyle (Pid) const |
|
bool | readProperty (const QStringRef &, XmlReader &, Pid) |
|
void | readProperty (XmlReader &, Pid) |
|
bool | readStyledProperty (XmlReader &e, const QStringRef &tag) |
|
virtual void | styleChanged () |
|
void | undoChangeProperty (Pid id, const QVariant &) |
|
void | undoResetProperty (Pid id) |
|
void | undoPushProperty (Pid) |
|
void | writeProperty (XmlWriter &xml, Pid id) const |
|
void | writeStyledProperties (XmlWriter &) const |
|
QList< ScoreElement * > | linkList () const |
|
void | linkTo (ScoreElement *) |
|
void | unlink () |
|
bool | isLinked (ScoreElement *) |
| return true if se is different and linked to this element More...
|
|
virtual void | undoUnlink () |
|
int | lid () const |
|
LinkedElements * | links () const |
|
void | setLinks (LinkedElements *le) |
|
bool | isNote () const |
|
bool | isRest () const |
|
bool | isChord () const |
|
bool | isBarLine () const |
|
bool | isArticulation () const |
|
bool | isFermata () const |
|
bool | isMarker () const |
|
bool | isClef () const |
|
bool | isKeySig () const |
|
bool | isTimeSig () const |
|
bool | isMeasure () const |
|
bool | isTempoText () const |
|
bool | isBreath () const |
|
bool | isHBox () const |
|
bool | isVBox () const |
|
bool | isTBox () const |
|
bool | isFBox () const |
|
bool | isTie () const |
|
bool | isSlur () const |
|
bool | isGlissando () const |
|
bool | isGlissandoSegment () const |
|
bool | isSystemDivider () const |
|
bool | isRehearsalMark () const |
|
bool | isHarmony () const |
|
bool | isVolta () const |
|
bool | isJump () const |
|
bool | isOttava () const |
|
bool | isLayoutBreak () const |
|
bool | isSegment () const |
|
bool | isTremolo () const |
|
bool | isSystem () const |
|
bool | isLyrics () const |
|
bool | isStem () const |
|
bool | isBeam () const |
|
bool | isHook () const |
|
bool | isStemSlash () const |
|
bool | isSlurSegment () const |
|
bool | isTieSegment () const |
|
bool | isSpacer () const |
|
bool | isStaffLines () const |
|
bool | isAmbitus () const |
|
bool | isBracket () const |
|
bool | isInstrumentChange () const |
|
bool | isStaffTypeChange () const |
|
bool | isHairpin () const |
|
bool | isHairpinSegment () const |
|
bool | isBend () const |
|
bool | isTremoloBar () const |
|
bool | isRepeatMeasure () const |
|
bool | isTuplet () const |
|
bool | isNoteDot () const |
|
bool | isDynamic () const |
|
bool | isInstrumentName () const |
|
bool | isAccidental () const |
|
bool | isTextLine () const |
|
bool | isTextLineSegment () const |
|
bool | isPedal () const |
|
bool | isPedalSegment () const |
|
bool | isOttavaSegment () const |
|
bool | isLedgerLine () const |
|
bool | isIcon () const |
|
bool | isVoltaSegment () const |
|
bool | isNoteLine () const |
|
bool | isTrill () const |
|
bool | isTrillSegment () const |
|
bool | isLetRing () const |
|
bool | isLetRingSegment () const |
|
bool | isVibrato () const |
|
bool | isPalmMute () const |
|
bool | isPalmMuteSegment () const |
|
bool | isVibratoSegment () const |
|
bool | isSymbol () const |
|
bool | isFSymbol () const |
|
bool | isFingering () const |
|
bool | isNoteHead () const |
|
bool | isLyricsLine () const |
|
bool | isLyricsLineSegment () const |
|
bool | isFiguredBass () const |
|
bool | isStaffState () const |
|
bool | isArpeggio () const |
|
bool | isImage () const |
|
bool | isChordLine () const |
|
bool | isFretDiagram () const |
|
bool | isPage () const |
|
bool | isText () const |
|
bool | isMeasureNumber () const |
|
bool | isStaffText () const |
|
bool | isSystemText () const |
|
bool | isBracketItem () const |
|
bool | isScore () const |
|
bool | isStaff () const |
|
bool | isPart () const |
|
bool | isBagpipeEmbellishment () const |
|
bool | isLasso () const |
|
bool | isSticking () const |
|
bool | isChordRest () const |
|
bool | isDurationElement () const |
|
bool | isSlurTieSegment () const |
|
bool | isSLineSegment () const |
|
bool | isBox () const |
|
bool | isVBoxBase () const |
|
bool | isMeasureBase () const |
|
bool | isTextBase () const |
|
bool | isTextLineBaseSegment () const |
|
bool | isLineSegment () const |
|
bool | isSpannerSegment () const |
|
bool | isBSymbol () const |
|
bool | isTextLineBase () const |
|
bool | isSLine () const |
|
bool | isSpanner () const |
|
bool | isStaffTextBase () const |
|