MuseScore  3.4
Music composition and notation
Classes | Namespaces | Macros | Typedefs | Enumerations | Functions
element.h File Reference
#include "spatium.h"
#include "fraction.h"
#include "scoreElement.h"
#include "shape.h"
Include dependency graph for element.h:

Go to the source code of this file.

Classes

class  Ms::EditData
 
class  Ms::Element
 Base class of score layout elements. More...
 
struct  Ms::PropertyData
 
class  Ms::ElementEditData
 
class  Ms::ElementList
 
class  Ms::Compound
 

Namespaces

 Ms
 
 

Macros

#define CONTROL_MODIFIER   Qt::ControlModifier
 

Typedefs

typedef QFlags< ElementFlag > Ms::ElementFlags
 

Enumerations

enum  Ms::Grip {
  Ms::Grip::NO_GRIP = -1, Ms::Grip::START = 0, Ms::Grip::END = 1, Ms::Grip::MIDDLE = 2,
  Ms::Grip::APERTURE = 3, Ms::Grip::BEZIER1 = 2, Ms::Grip::SHOULDER = 3, Ms::Grip::BEZIER2 = 4,
  Ms::Grip::DRAG = 5, Ms::Grip::GRIPS = 6
}
 
enum  Ms::OffsetChange { Ms::OffsetChange::RELATIVE_OFFSET = -1, Ms::OffsetChange::NONE = 0, Ms::OffsetChange::ABSOLUTE_OFFSET = 1 }
 
enum  Ms::ElementFlag {
  Ms::ElementFlag::NOTHING = 0x00000000, Ms::ElementFlag::DROP_TARGET = 0x00000001, Ms::ElementFlag::NOT_SELECTABLE = 0x00000002, Ms::ElementFlag::MOVABLE = 0x00000004,
  Ms::ElementFlag::COMPOSITION = 0x00000008, Ms::ElementFlag::HAS_TAG = 0x00000010, Ms::ElementFlag::ON_STAFF = 0x00000020, Ms::ElementFlag::SELECTED = 0x00000040,
  Ms::ElementFlag::GENERATED = 0x00000080, Ms::ElementFlag::INVISIBLE = 0x00000100, Ms::ElementFlag::NO_AUTOPLACE = 0x00000200, Ms::ElementFlag::SYSTEM = 0x00000400,
  Ms::ElementFlag::PLACE_ABOVE = 0x00000800, Ms::ElementFlag::SIZE_SPATIUM_DEPENDENT = 0x00001000, Ms::ElementFlag::REPEAT_END = 0x00002000, Ms::ElementFlag::REPEAT_START = 0x00004000,
  Ms::ElementFlag::REPEAT_JUMP = 0x00008000, Ms::ElementFlag::IRREGULAR = 0x00010000, Ms::ElementFlag::LINE_BREAK = 0x00020000, Ms::ElementFlag::PAGE_BREAK = 0x00040000,
  Ms::ElementFlag::SECTION_BREAK = 0x00080000, Ms::ElementFlag::NO_BREAK = 0x00100000, Ms::ElementFlag::HEADER = 0x00200000, Ms::ElementFlag::TRAILER = 0x00400000,
  Ms::ElementFlag::KEYSIG = 0x00800000, Ms::ElementFlag::ENABLED = 0x01000000, Ms::ElementFlag::EMPTY = 0x02000000, Ms::ElementFlag::WRITTEN = 0x04000000
}
 

Functions

 Ms::Q_DECLARE_OPERATORS_FOR_FLAGS (ElementFlags)
 
bool Ms::elementLessThan (const Element *const e1, const Element *const e2)
 
void Ms::collectElements (void *data, Element *e)
 

Macro Definition Documentation

◆ CONTROL_MODIFIER

#define CONTROL_MODIFIER   Qt::ControlModifier