|
Canorus
0.7
|
Text sign. More...
#include <text.h>

Public Member Functions | |
| CAText (const QString text, CAPlayable *m) | |
| virtual | ~CAText () |
| const QString | text () |
| void | setText (const QString t) |
| CAText * | clone (CAMusElement *elt=0) |
| int | compare (CAMusElement *elt) |
Private Attributes | |
| QString | _text |
Text sign.
Copyright (c) 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 LICENSE.GPL for details.
Copyright (c) 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 LICENSE.GPL for details.
Arbitrary text above or below playable elements.
| CAText::CAText | ( | const QString | text, |
| CAPlayable * | m | ||
| ) |
| CAText::~CAText | ( | ) | [virtual] |
| CAText * CAText::clone | ( | CAMusElement * | elt = 0 | ) | [virtual] |
Reimplemented from CAMark.
References CAText(), CAMusElement::isPlayable(), and text().

| int CAText::compare | ( | CAMusElement * | elt | ) | [virtual] |
Compares the music element with the given elt and returns number of differences in their properties. Returns 0, if the music elements are exact; -1 if the music element type differs; otherwise number greater than 0.
This method is usually used when opening a score document where music elements are written in various voices (eg. barlines), but are eventually merged and written only once per staff.
Reimplemented from CAMark.
References CAMusElement::Mark, CAMusElement::musElementType(), CAMark::Text, and text().

| void CAText::setText | ( | const QString | t | ) | [inline] |
| const QString CAText::text | ( | ) | [inline] |
References _text.
Referenced by clone(), compare(), and CACanorusMLExport::exportMarks().

QString CAText::_text [private] |
1.8.0