Canorus  0.7
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Attributes
CADrawableTuplet Class Reference

#include <drawabletuplet.h>

Inheritance diagram for CADrawableTuplet:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 CADrawableTuplet (CATuplet *tuplet, CADrawableContext *c, double x1, double y1, double x2, double y2)
virtual ~CADrawableTuplet ()
CATuplettuplet ()
void draw (QPainter *p, const CADrawSettings s)
CADrawableTupletclone (CADrawableContext *newContext=0)
double x1 ()
double y1 ()
double x2 ()
double y2 ()
void setX1 (double x1)
void setY1 (double y1)
void setX2 (double x2)
void setY2 (double y2)

Private Attributes

double _x1
double _x2
double _y1
double _y2

Detailed Description

Copyright (c) 2008-2009, Matevž Jekovec, Canorus development team All Rights Reserved. See AUTHORS for a complete list of authors.

Licensed under the GNU GENERAL PUBLIC LICENSE. See LICENSE.GPL for details.


Constructor & Destructor Documentation

CADrawableTuplet::CADrawableTuplet ( CATuplet tuplet,
CADrawableContext c,
double  x1,
double  y1,
double  x2,
double  y2 
)

Copyright (c) 2008-2009, Matevž Jekovec, Canorus development team All Rights Reserved. See AUTHORS for a complete list of authors.

Licensed under the GNU GENERAL PUBLIC LICENSE. See LICENSE.GPL for details.

References CADrawableMusElement::DrawableTuplet, CADrawable::height(), CADrawableMusElement::setDrawableMusElementType(), CADrawable::setHeight(), CADrawable::setWidth(), CADrawable::setYPos(), and CADrawable::yPos().

Referenced by clone().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Function Documentation

CADrawableTuplet * CADrawableTuplet::clone ( CADrawableContext newContext = 0) [virtual]

Implements CADrawableMusElement.

References CADrawableTuplet(), CADrawableMusElement::drawableContext(), tuplet(), x1(), x2(), y1(), and y2().

Here is the call graph for this function:

void CADrawableTuplet::draw ( QPainter *  p,
const CADrawSettings  s 
) [virtual]
void CADrawableTuplet::setX1 ( double  x1) [inline]

References _x1, and x1().

Here is the call graph for this function:

void CADrawableTuplet::setX2 ( double  x2) [inline]

References _x2, and x2().

Here is the call graph for this function:

void CADrawableTuplet::setY1 ( double  y1) [inline]

References _y1, and y1().

Here is the call graph for this function:

void CADrawableTuplet::setY2 ( double  y2) [inline]

References _y2, and y2().

Here is the call graph for this function:

References CADrawableMusElement::_musElement.

Referenced by clone(), and draw().

Here is the caller graph for this function:

double CADrawableTuplet::x1 ( ) [inline]

References _x1.

Referenced by clone(), and setX1().

Here is the caller graph for this function:

double CADrawableTuplet::x2 ( ) [inline]

References _x2.

Referenced by clone(), and setX2().

Here is the caller graph for this function:

double CADrawableTuplet::y1 ( ) [inline]

References _y1.

Referenced by clone(), and setY1().

Here is the caller graph for this function:

double CADrawableTuplet::y2 ( ) [inline]

References _y2.

Referenced by clone(), and setY2().

Here is the caller graph for this function:


Member Data Documentation

double CADrawableTuplet::_x1 [private]

Referenced by setX1(), and x1().

double CADrawableTuplet::_x2 [private]

Referenced by setX2(), and x2().

double CADrawableTuplet::_y1 [private]

Referenced by setY1(), and y1().

double CADrawableTuplet::_y2 [private]

Referenced by setY2(), and y2().


The documentation for this class was generated from the following files: