Canorus
0.7
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
src
drawable
drawabletimesignature.h
Go to the documentation of this file.
1
8
#ifndef DRAWABLETIMESIGNATURE_H_
9
#define DRAWABLETIMESIGNATURE_H_
10
11
#include "
drawable/drawablemuselement.h
"
12
#include "
core/timesignature.h
"
13
#include "
canorus.h
"
14
15
class
CADrawableStaff
;
16
17
class
CADrawableTimeSignature
:
public
CADrawableMusElement
{
18
public
:
19
CADrawableTimeSignature
(
CATimeSignature
*timeSig,
CADrawableStaff
*drawableStaff,
double
x,
double
y);
20
~CADrawableTimeSignature
();
21
void
draw
(QPainter *p,
CADrawSettings
s);
22
CADrawableTimeSignature
*
clone
(
CADrawableContext
* newContext = 0);
23
inline
CATimeSignature
*
timeSignature
() {
return
static_cast<
CATimeSignature
*
>
(
_musElement
); }
24
};
25
26
#endif
/*DRAWABLETIMESIGNATURE_H_*/
CADrawableTimeSignature::~CADrawableTimeSignature
~CADrawableTimeSignature()
y coordinate is a top of the staff
Definition:
drawabletimesignature.cpp:43
CADrawableContext
Definition:
drawablecontext.h:18
CADrawableTimeSignature
Definition:
drawabletimesignature.h:17
CADrawableTimeSignature::CADrawableTimeSignature
CADrawableTimeSignature(CATimeSignature *timeSig, CADrawableStaff *drawableStaff, double x, double y)
Definition:
drawabletimesignature.cpp:17
CADrawableTimeSignature::draw
void draw(QPainter *p, CADrawSettings s)
Definition:
drawabletimesignature.cpp:46
CADrawable::clone
virtual CADrawable * clone()
Definition:
drawable.cpp:23
CATimeSignature
Represents a time signature in the staff.
Definition:
timesignature.h:18
CADrawSettings
Definition:
drawable.h:16
canorus.h
CADrawableStaff
Definition:
drawablestaff.h:22
CADrawableMusElement
Definition:
drawablemuselement.h:16
drawablemuselement.h
timesignature.h
CADrawableMusElement::_musElement
CAMusElement * _musElement
Definition:
drawablemuselement.h:46
CADrawableTimeSignature::timeSignature
CATimeSignature * timeSignature()
Definition:
drawabletimesignature.h:23
Generated on Wed Oct 15 2014 08:46:38 for Canorus by
1.8.8