MuseScore Plugins  3.5
Plugins API for MuseScore
Public Types | Public Member Functions | Static Public Member Functions | List of all members
Beam Class Referencefinal
Inheritance diagram for Beam:
Inheritance graph
[legend]
Collaboration diagram for Beam:
Collaboration graph
[legend]

Public Types

enum  Mode : signed char {
  AUTO, BEGIN, MID, END,
  NONE, BEGIN32, BEGIN64, INVALID = -1
}
 

Public Member Functions

 Beam (Score *=0)
 
 Beam (const Beam &)
 
Beamclone () const override
 
ElementType type () const override
 
QPointF pagePos () const override
 position in page coordinates
 
QPointF canvasPos () const override
 position in page coordinates
 
bool isEditable () const override
 
void startEdit (EditData &) override
 
void endEdit (EditData &) override
 
void editDrag (EditData &) override
 
Fraction tick () const override
 
Fraction rtick () const override
 
Fraction ticks () const
 
void write (XmlWriter &xml) const override
 
void read (XmlReader &) override
 
void spatiumChanged (qreal, qreal) override
 
void reset () override
 
System * system () const
 
void layout1 ()
 
void layoutGraceNotes ()
 
void layout ()
 
const QVector< ChordRest * > & elements ()
 
void clear ()
 
bool empty () const
 
bool contains (const ChordRest *cr) const
 
void add (Element *) override
 
void remove (Element *) override
 
void move (const QPointF &) override
 
void draw (QPainter *) const override
 
bool up () const
 
void setUp (bool v)
 
void setId (int i) const
 
int id () const
 
bool noSlope () const
 
void setNoSlope (bool val)
 
void setBeamDirection (Direction d)
 
Direction beamDirection () const
 
bool acceptDrop (EditData &) const override
 
Element * drop (EditData &) override
 
qreal growLeft () const
 
qreal growRight () const
 
void setGrowLeft (qreal val)
 
void setGrowRight (qreal val)
 
bool distribute () const
 
void setDistribute (bool val)
 
bool userModified () const
 
void setUserModified (bool val)
 
QPointF beamPos () const
 
void setBeamPos (const QPointF &bp)
 
qreal beamDist () const
 
QVariant getProperty (Pid propertyId) const override
 
bool setProperty (Pid propertyId, const QVariant &) override
 
QVariant propertyDefault (Pid id) const override
 
bool isGrace () const
 
bool cross () const
 
void addSkyline (Skyline &)
 
void triggerLayout () const override
 
EditBehavior normalModeEditBehavior () const override
 
int gripsCount () const override
 
Grip initialEditModeGrip () const override
 
Grip defaultGrip () const override
 
std::vector< QPointF > gripsPositions (const EditData &) const override
 
QRectF drag (EditData &) override
 
bool isMovable () const override
 
void startDrag (EditData &) override
 

Static Public Member Functions

static IconType iconType (Mode)
 

Member Enumeration Documentation

◆ Mode

enum Mode : signed char
strong
Enumerator
AUTO 
BEGIN 
MID 
END 
NONE 
BEGIN32 
BEGIN64 
INVALID 

The documentation for this class was generated from the following file: