#include <drawablebarline.h>
|
| | CADrawableBarline (CABarline *m, CADrawableStaff *staff, double x, double y) |
| |
| | ~CADrawableBarline () |
| |
| void | draw (QPainter *p, CADrawSettings s) |
| |
| CADrawableBarline * | clone (CADrawableContext *newContext=0) |
| |
| CABarline * | barline () |
| |
| | CADrawableMusElement (CAMusElement *musElement, CADrawableContext *drawableContext, double x, double y) |
| |
| CADrawableMusElementType | drawableMusElementType () |
| |
| CAMusElement * | musElement () |
| |
| CADrawableContext * | drawableContext () |
| |
| void | setDrawableContext (CADrawableContext *context) |
| |
| | CADrawable (double x, double y) |
| |
| virtual | ~CADrawable () |
| |
| virtual CADrawable * | clone () |
| |
| void | drawHScaleHandles (QPainter *p, const CADrawSettings s) |
| |
| void | drawVScaleHandles (QPainter *p, const CADrawSettings s) |
| |
| CADrawableType | drawableType () |
| |
| double | xPos () const |
| |
| double | yPos () const |
| |
| double | width () const |
| |
| double | height () const |
| |
| double | neededSpaceWidth () const |
| |
| double | neededSpaceHeight () const |
| |
| double | neededWidth () const |
| |
| double | neededHeight () const |
| |
| double | xCenter () const |
| |
| double | yCenter () const |
| |
| const QRect | bBox () const |
| |
| bool | isVisible () const |
| |
| bool | isSelectable () const |
| |
| bool | isHScalable () const |
| |
| bool | isVScalable () const |
| |
| 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) |
| |
|
| enum | CADrawableMusElementType {
DrawableNote,
DrawableRest,
DrawableMidiNote,
DrawableClef,
DrawableKeySignature,
DrawableTimeSignature,
DrawableBarline,
DrawableAccidental,
DrawableSlur,
DrawableTuplet,
DrawableSyllable,
DrawableFunctionMark,
DrawableFunctionMarkSupport,
DrawableFiguredBassNumber,
DrawableMark
} |
| |
| enum | CADrawableType { DrawableMusElement,
DrawableContext
} |
| |
| enum | CADirection {
Undefined,
Top,
Bottom,
Left,
Right,
TopLeft,
TopRight,
BottomLeft,
BottomRight
} |
| |
| void | setDrawableMusElementType (CADrawableMusElementType t) |
| |
| void | setDrawableType (CADrawableType t) |
| |
| CADrawableMusElementType | _drawableMusElementType |
| |
| CADrawableContext * | _drawableContext |
| |
| CAMusElement * | _musElement |
| |
| bool | _selectable |
| |
| CADrawableType | _drawableType |
| |
| double | _xPos |
| |
| double | _yPos |
| |
| double | _width |
| |
| double | _height |
| |
| double | _neededSpaceWidth |
| |
| double | _neededSpaceHeight |
| |
| bool | _visible |
| |
| bool | _selectable |
| |
| bool | _hScalable |
| |
| bool | _vScalable |
| |
| static const int | SCALE_HANDLES_SIZE = 2 |
| |
◆ CADrawableBarline()
References BARLINE_WIDTH, CABarline::barlineType(), BOLD_BARLINE_WIDTH, CABarline::Dotted, DOTTED_BARLINE_WIDTH, CABarline::Double, CADrawableMusElement::DrawableBarline, CABarline::End, CADrawable::height(), REPEAT_DOTS_WIDTH, CABarline::RepeatClose, CABarline::RepeatCloseOpen, CABarline::RepeatOpen, CADrawableMusElement::setDrawableMusElementType(), CADrawable::setHeight(), CADrawable::setNeededSpaceWidth(), CADrawable::setWidth(), CABarline::Single, SPACE_BETWEEN_BARLINES, and CABarline::Undefined.
Referenced by clone().
◆ ~CADrawableBarline()
| CADrawableBarline::~CADrawableBarline |
( |
| ) |
|
◆ barline()
◆ clone()
◆ draw()
Implements CADrawable.
References barline(), BARLINE_WIDTH, BOLD_BARLINE_WIDTH, CADrawSettings::color, CABarline::Dotted, DOTTED_BARLINE_WIDTH, CABarline::Double, CABarline::End, CADrawable::height(), REPEAT_DOTS_WIDTH, CABarline::RepeatClose, CABarline::RepeatCloseOpen, CABarline::RepeatOpen, CABarline::Single, SPACE_BETWEEN_BARLINES, CABarline::Undefined, CADrawSettings::x, CADrawSettings::y, and CADrawSettings::z.
◆ BARLINE_WIDTH
| const float CADrawableBarline::BARLINE_WIDTH = 1.5 |
|
staticprivate |
◆ BOLD_BARLINE_WIDTH
| const float CADrawableBarline::BOLD_BARLINE_WIDTH = 4 |
|
staticprivate |
◆ DOTTED_BARLINE_WIDTH
| const float CADrawableBarline::DOTTED_BARLINE_WIDTH = 2 |
|
staticprivate |
◆ REPEAT_DOTS_WIDTH
| const float CADrawableBarline::REPEAT_DOTS_WIDTH = 3 |
|
staticprivate |
◆ SPACE_BETWEEN_BARLINES
| const float CADrawableBarline::SPACE_BETWEEN_BARLINES = 3 |
|
staticprivate |
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.
Referenced by CADrawableBarline(), and draw().
The documentation for this class was generated from the following files: