MuseScore
3.4
Music composition and notation
libmscore
rehearsalmark.h
Go to the documentation of this file.
1
//=============================================================================
2
// MuseScore
3
// Music Composition & Notation
4
//
5
// Copyright (C) 2011 Werner Schweer
6
//
7
// This program is free software; you can redistribute it and/or modify
8
// it under the terms of the GNU General Public License version 2
9
// as published by the Free Software Foundation and appearing in
10
// the file LICENCE.GPL
11
//=============================================================================
12
13
#ifndef __REHEARSALMARK_H__
14
#define __REHEARSALMARK_H__
15
16
#include "
systemtext.h
"
17
18
namespace
Ms
{
19
20
//---------------------------------------------------------
21
// @@ RehearsalMark
22
//---------------------------------------------------------
23
24
class
RehearsalMark
final :
public
TextBase
{
25
virtual
Sid
getPropertyStyle
(
Pid
)
const override
;
26
27
public
:
28
RehearsalMark
(
Score
*
score
);
29
virtual
RehearsalMark
*
clone
()
const override
{
return
new
RehearsalMark
(*
this
); }
30
virtual
ElementType
type
()
const override
{
return
ElementType::REHEARSAL_MARK
; }
31
Segment
*
segment
()
const
{
return
(
Segment
*)
parent
(); }
32
virtual
void
layout
()
override
;
33
virtual
QVariant
propertyDefault
(
Pid
id
)
const override
;
34
};
35
36
37
}
// namespace Ms
38
#endif
39
Ms::RehearsalMark::propertyDefault
virtual QVariant propertyDefault(Pid id) const override
Definition:
rehearsalmark.cpp:87
Ms::Pid
Pid
Definition:
property.h:62
Ms::RehearsalMark::RehearsalMark
RehearsalMark(Score *score)
Definition:
rehearsalmark.cpp:33
Ms::Element::parent
Element * parent() const
Definition:
element.h:192
Ms::RehearsalMark::getPropertyStyle
virtual Sid getPropertyStyle(Pid) const override
Definition:
rehearsalmark.cpp:103
Ms::Score
Definition:
score.h:391
Ms::ScoreElement::score
Score * score() const
Definition:
scoreElement.h:189
Ms::RehearsalMark::segment
Segment * segment() const
Definition:
rehearsalmark.h:31
Ms::TextBase
Definition:
textbase.h:217
Ms::Segment
Definition:
segment.h:50
Ms
Definition:
aeolus.cpp:26
Ms::Sid
Sid
Definition:
style.h:33
Ms::ElementType::REHEARSAL_MARK
Ms::RehearsalMark::clone
virtual RehearsalMark * clone() const override
Definition:
rehearsalmark.h:29
systemtext.h
Ms::RehearsalMark::type
virtual ElementType type() const override
Definition:
rehearsalmark.h:30
Ms::ElementType
ElementType
Definition:
types.h:34
Ms::RehearsalMark::layout
virtual void layout() override
Definition:
rehearsalmark.cpp:44
Ms::RehearsalMark
Definition:
rehearsalmark.h:24
Generated by
1.8.13