Canorus  0.7
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes | List of all members
CADrawableFunctionMark Class Reference

The drawable instance of the function mark. These music elements are ordinary music elements selectable by the user. More...

#include <drawablefunctionmark.h>

Inheritance diagram for CADrawableFunctionMark:
Inheritance graph
[legend]

Public Member Functions

 CADrawableFunctionMark (CAFunctionMark *function, CADrawableFunctionMarkContext *context, double x, double y)
 
 ~CADrawableFunctionMark ()
 
void draw (QPainter *p, const CADrawSettings s)
 
CADrawableFunctionMarkclone (CADrawableContext *newContext=0)
 
CAFunctionMarkfunctionMark ()
 
CADrawableFunctionMarkContextdrawableFunctionMarkContext ()
 
bool isExtenderLineVisible ()
 
void setExtenderLineVisible (bool visible)
 
bool isExtenderLineOnly ()
 
void setExtenderLineOnly (bool line)
 
- Public Member Functions inherited from CADrawableMusElement
 CADrawableMusElement (CAMusElement *musElement, CADrawableContext *drawableContext, double x, double y)
 
CADrawableMusElementType drawableMusElementType ()
 
CAMusElementmusElement ()
 
CADrawableContextdrawableContext ()
 
void setDrawableContext (CADrawableContext *context)
 
- Public Member Functions inherited from CADrawable
 CADrawable (double x, double y)
 
virtual ~CADrawable ()
 
virtual CADrawableclone ()
 
void drawHScaleHandles (QPainter *p, const CADrawSettings s)
 
void drawVScaleHandles (QPainter *p, const CADrawSettings s)
 
CADrawableType drawableType ()
 
double xPos ()
 
double yPos ()
 
double width ()
 
double height ()
 
double neededSpaceWidth ()
 
double neededSpaceHeight ()
 
double neededWidth ()
 
double neededHeight ()
 
double xCenter ()
 
double yCenter ()
 
const QRect bBox ()
 
bool isVisible ()
 
bool isSelectable ()
 
bool isHScalable ()
 
bool isVScalable ()
 
void setXPos (double xPos)
 
void setYPos (double yPos)
 
void setWidth (double width)
 
void setHeight (double height)
 
void setNeededSpaceWidth (double width)
 
void setNeededSpaceHeight (double height)
 
void setVisible (bool v)
 
void setSelectable (bool s)
 
void setHScalable (bool s)
 
void setVScalable (bool s)
 

Private Attributes

bool _extenderLineVisible
 
QString _text
 
bool _extenderLineOnly
 

Additional Inherited Members

- Public Types inherited from CADrawableMusElement
enum  CADrawableMusElementType {
  DrawableNote, DrawableRest, DrawableClef, DrawableKeySignature,
  DrawableTimeSignature, DrawableBarline, DrawableAccidental, DrawableSlur,
  DrawableTuplet, DrawableSyllable, DrawableFunctionMark, DrawableFunctionMarkSupport,
  DrawableMark
}
 
- Protected Member Functions inherited from CADrawableMusElement
void setDrawableMusElementType (CADrawableMusElementType t)
 
- Protected Attributes inherited from CADrawableMusElement
CADrawableMusElementType _drawableMusElementType
 
CADrawableContext_drawableContext
 
CAMusElement_musElement
 
bool _selectable
 
- Static Protected Attributes inherited from CADrawable
static const int SCALE_HANDLES_SIZE = 2
 

Detailed Description

The drawable instance of the function mark. These music elements are ordinary music elements selectable by the user.

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

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

See Also
CADrawableFunctionMarkSupport

Constructor & Destructor Documentation

CADrawableFunctionMark::CADrawableFunctionMark ( CAFunctionMark function,
CADrawableFunctionMarkContext context,
double  x,
double  y 
)
CADrawableFunctionMark::~CADrawableFunctionMark ( )

Member Function Documentation

CADrawableFunctionMark * CADrawableFunctionMark::clone ( CADrawableContext newContext = 0)
virtual
void CADrawableFunctionMark::draw ( QPainter *  p,
const CADrawSettings  s 
)
virtual
CADrawableFunctionMarkContext* CADrawableFunctionMark::drawableFunctionMarkContext ( )
inline

References CADrawableMusElement::_drawableContext.

Referenced by clone().

Here is the caller graph for this function:

CAFunctionMark* CADrawableFunctionMark::functionMark ( )
inline
bool CADrawableFunctionMark::isExtenderLineOnly ( )
inline

References _extenderLineOnly.

Referenced by draw().

Here is the caller graph for this function:

bool CADrawableFunctionMark::isExtenderLineVisible ( )
inline

References _extenderLineVisible.

Referenced by draw(), and CAEngraver::reposit().

Here is the caller graph for this function:

void CADrawableFunctionMark::setExtenderLineOnly ( bool  line)
inline

References _extenderLineOnly.

void CADrawableFunctionMark::setExtenderLineVisible ( bool  visible)
inline

References _extenderLineVisible.

Referenced by CAEngraver::reposit().

Here is the caller graph for this function:

Member Data Documentation

bool CADrawableFunctionMark::_extenderLineOnly
private
bool CADrawableFunctionMark::_extenderLineVisible
private
QString CADrawableFunctionMark::_text
private

Referenced by CADrawableFunctionMark(), and draw().


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