23 #ifdef SCRIPT_INTERFACE 340 return static_cast<NoteType>(
static_cast<int>(t1) | static_cast<int>(t2));
343 return static_cast<int>(t1) & static_cast<int>(t2);
449 return static_cast<SegmentType>(
static_cast<int>(t1) | static_cast<int>(t2));
452 return static_cast<int>(t1) & static_cast<int>(t2);
553 return static_cast<Align>(
static_cast<char>(a1) | static_cast<char>(a2));
555 constexpr
bool operator& (
Align a1,
Align a2) {
556 return static_cast<char>(a1) & static_cast<char>(a2);
559 return static_cast<Align>(~static_cast<
char>(a));
566 enum class FontStyle : char {
567 Normal = 0, Bold = 1, Italic = 2, Underline = 4
570 constexpr FontStyle operator+ (FontStyle a1, FontStyle a2) {
571 return static_cast<FontStyle
>(
static_cast<char>(a1) | static_cast<char>(a2));
573 constexpr FontStyle operator- (FontStyle a1, FontStyle a2) {
574 return static_cast<FontStyle
>(
static_cast<char>(a1) & ~static_cast<char>(a2));
576 constexpr
bool operator& (FontStyle a1, FontStyle a2) {
577 return static_cast<bool>(
static_cast<char>(a1) & static_cast<char>(a2));
598 enum class TupletNumberType : char { SHOW_NUMBER, SHOW_RELATION, NO_TEXT };
599 enum class TupletBracketType : char { AUTO_BRACKET, SHOW_BRACKET, SHOW_NO_BRACKET };
601 #ifdef SCRIPT_INTERFACE 619 class Mops :
public QObject {
623 extern Direction toDirection(
const QString&);
626 extern void fillComboBoxDirection(QComboBox*);
Placement
Definition: types.h:393
Tid
Enumerates the list of built-in text substyles.
Definition: types.h:462
Some play events are modified by user.
OffsetType
Definition: types.h:413
ElementType
Definition: types.h:34
Direction
Definition: types.h:351
Align
Align Because the Align enum has Top = 0 and Left = 0, align() & Align::Top will always return false...
Definition: types.h:537
Includes all barline types.
PlayEventType
Determines whether oranaments are automatically generated when playing a score and whether the PlayEv...
Definition: types.h:587
HPlacement
Definition: types.h:403
NoteType
Definition: types.h:324
GlissandoStyle
Definition: types.h:371
offset in staff space units
HarmonyType
Definition: types.h:381
AccidentalType
Definition: types.h:152
Definition: cursor.cpp:30
SegmentType
Definition: types.h:424
GlissandoType
Definition: types.h:361