|
Canorus
0.0
|
#include <drawablecontext.h>

Public Types | |
| enum | CADrawableContextType { DrawableStaff, DrawableLyricsContext, DrawableFiguredBassContext, DrawableFunctionMarkContext } |
Public Types inherited from CADrawable | |
| enum | CADrawableType { DrawableMusElement, DrawableContext } |
| enum | CADirection { Undefined, Top, Bottom, Left, Right, TopLeft, TopRight, BottomLeft, BottomRight } |
Protected Member Functions | |
| void | setDrawableContextType (CADrawableContextType type) |
Protected Member Functions inherited from CADrawable | |
| void | setDrawableType (CADrawableType t) |
Protected Attributes | |
| CADrawableContextType | _drawableContextType |
| CAContext * | _context |
| QList< CADrawableMusElement * > | _drawableMusElementList |
Protected Attributes inherited from CADrawable | |
| CADrawableType | _drawableType |
| double | _xPos |
| double | _yPos |
| double | _width |
| double | _height |
| double | _neededSpaceWidth |
| double | _neededSpaceHeight |
| bool | _visible |
| bool | _selectable |
| bool | _hScalable |
| bool | _vScalable |
Additional Inherited Members | |
Static Protected Attributes inherited from CADrawable | |
| static const int | SCALE_HANDLES_SIZE = 2 |
| CADrawableContext::CADrawableContext | ( | CAContext * | c, |
| double | x, | ||
| double | y | ||
| ) |
Copyright (c) 2006-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 COPYING for details.
References CADrawable::DrawableContext, and CADrawable::setDrawableType().

|
inlinevirtual |
Reimplemented in CADrawableStaff.
References _drawableMusElementList, and CADrawable::xPos().
Referenced by CAScoreView::addMElement().


|
pure virtual |
Reimplemented from CADrawable.
Implemented in CADrawableStaff, CADrawableLyricsContext, CADrawableFunctionMarkContext, and CADrawableFiguredBassContext.
|
inline |
References _context.
Referenced by CAScoreView::addCElement(), CADrawableFiguredBassContext::figuredBassContext(), CAMainWin::insertMusElementAt(), CADrawableLyricsContext::lyricsContext(), CAKeybdInput::midiInEventToScore(), CATransposeView::on_uiApply_clicked(), CAMainWin::pasteAt(), CALayoutEngine::reposit(), CAMainWin::scoreViewKeyPress(), CAMainWin::scoreViewMousePress(), and CAScoreView::selectAllCurBar().

|
inline |
References _drawableContextType.
Referenced by CAScoreView::addCElement(), CADrawableRest::CADrawableRest(), CALayoutEngine::reposit(), and CAMainWin::scoreViewMouseMove().

|
inline |
References _drawableMusElementList.
| QList< CADrawableMusElement * > CADrawableContext::findInRange | ( | double | x1, |
| double | x2 | ||
| ) |
Returns a list of drawable music elements the current drawable context includes between the horizontal coordinates x1 and x2. The element is in a list already if only part of the element is touched by the region. That is the first returned element's left border is smaller than x1 and the last returned element's right border is larger than x2.
References _drawableMusElementList, CADrawable::width(), and CADrawable::xPos().

|
inline |
References _drawableMusElementList.
Referenced by CALayoutEngine::reposit().

|
inline |
References _drawableMusElementList.
|
inlinevirtual |
Reimplemented in CADrawableStaff.
References _drawableMusElementList.
|
inlineprotected |
References _drawableContextType.
Referenced by CADrawableFiguredBassContext::CADrawableFiguredBassContext(), CADrawableFunctionMarkContext::CADrawableFunctionMarkContext(), and CADrawableLyricsContext::CADrawableLyricsContext().

|
protected |
Referenced by CADrawableFunctionMarkContext::clone(), context(), and CADrawableStaff::staff().
|
protected |
Referenced by CADrawableStaff::CADrawableStaff(), drawableContextType(), and setDrawableContextType().
|
protected |