MuseScore
3.4
Music composition and notation
Main Page
Related Pages
+
Namespaces
Namespace List
+
Namespace Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
+
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
y
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
x
+
Typedefs
b
c
d
e
f
g
h
i
j
l
m
n
o
p
s
t
v
+
Enumerations
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
+
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Typedefs
+
Enumerations
a
c
d
e
f
g
h
l
m
o
p
r
s
t
v
x
+
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
v
z
+
Properties
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
z
+
Related Functions
a
b
c
f
i
l
m
o
p
q
r
s
t
v
z
+
Files
File List
+
File Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
+
Functions
a
c
d
e
g
i
l
m
o
q
r
u
Variables
Typedefs
Enumerations
+
Enumerator
a
c
d
e
f
h
m
n
r
s
t
w
+
Macros
_
a
b
c
d
f
g
h
k
l
m
n
o
p
q
r
s
t
u
v
x
y
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
libmscore
measurenumber.h
Go to the documentation of this file.
1
//=============================================================================
2
// MuseScore
3
// Music Composition & Notation
4
//
5
// Copyright (C) 2014 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 __MEASURENUMBER_H__
14
#define __MEASURENUMBER_H__
15
16
#include "
textbase.h
"
17
18
namespace
Ms
{
19
20
//---------------------------------------------------------
21
// MeasureNumber
22
//---------------------------------------------------------
23
24
class
MeasureNumber
final :
public
TextBase
{
25
26
public
:
27
MeasureNumber
(
Score
* s = 0);
28
29
virtual
ElementType
type
()
const override
{
return
ElementType::MEASURE_NUMBER
; }
30
virtual
MeasureNumber
*
clone
()
const override
{
return
new
MeasureNumber
(*
this
); }
31
virtual
QVariant
propertyDefault
(
Pid
id
)
const override
;
32
33
virtual
void
layout
()
override
;
34
Measure
*
measure
()
const
{
return
toMeasure(
parent
()); }
35
};
36
37
}
// namespace Ms
38
39
#endif
40
Ms::Pid
Pid
Definition:
property.h:62
Ms::MeasureNumber
Definition:
measurenumber.h:24
Ms::Measure
one measure in a system
Definition:
measure.h:65
Ms::MeasureNumber::type
virtual ElementType type() const override
Definition:
measurenumber.h:29
Ms::MeasureNumber::clone
virtual MeasureNumber * clone() const override
Definition:
measurenumber.h:30
Ms::ElementType::MEASURE_NUMBER
Ms::Element::parent
Element * parent() const
Definition:
element.h:192
Ms::Score
Definition:
score.h:391
Ms::MeasureNumber::measure
Measure * measure() const
Definition:
measurenumber.h:34
Ms::MeasureNumber::layout
virtual void layout() override
Definition:
measurenumber.cpp:58
Ms::MeasureNumber::MeasureNumber
MeasureNumber(Score *s=0)
Definition:
measurenumber.cpp:31
Ms::TextBase
Definition:
textbase.h:217
Ms
Definition:
aeolus.cpp:26
Ms::MeasureNumber::propertyDefault
virtual QVariant propertyDefault(Pid id) const override
Definition:
measurenumber.cpp:42
textbase.h
Ms::ElementType
ElementType
Definition:
types.h:34
Generated by
1.8.13