MuseScore
3.4
Music composition and notation
|
Helper class for reading beams, tuplets and spanners. More...
#include <connector.h>
Public Member Functions | |
ConnectorInfoReader (XmlReader &e, Element *current, int track=-1) | |
ConnectorInfoReader (XmlReader &e, Score *current, int track=-1) | |
ConnectorInfoReader * | prev () const |
ConnectorInfoReader * | next () const |
Element * | connector () |
const Element * | connector () const |
Element * | releaseConnector () |
bool | read () |
void | update () |
void | addToScore (bool pasteMode) |
Public Member Functions inherited from Ms::ConnectorInfo | |
ConnectorInfo (const Element *current, int track=-1, Fraction={ -1, 1}) | |
ConnectorInfo (const Score *score, const Location ¤tLocation) | |
ConnectorInfo * | prev () const |
ConnectorInfo * | next () const |
ConnectorInfo * | start () |
ConnectorInfo * | end () |
ElementType | type () const |
const Location & | location () const |
bool | connect (ConnectorInfo *other) |
bool | finished () const |
int | connectionDistance (const ConnectorInfo &c2) const |
void | forceConnect (ConnectorInfo *c2) |
bool | hasPrevious () const |
bool | hasNext () const |
bool | isStart () const |
bool | isMiddle () const |
bool | isEnd () const |
Static Public Member Functions | |
static void | readConnector (std::unique_ptr< ConnectorInfoReader > info, XmlReader &e) |
Private Member Functions | |
void | readEndpointLocation (Location &l) |
Private Attributes | |
XmlReader * | _reader |
Element * | _connector |
ScoreElement * | _connectorReceiver |
Additional Inherited Members | |
Protected Member Functions inherited from Ms::ConnectorInfo | |
void | updateLocation (const Element *e, Location &i, bool clipboardmode) |
void | updateCurrentInfo (bool clipboardmode) |
bool | currentUpdated () const |
void | setCurrentUpdated (bool v) |
ConnectorInfo * | findFirst () |
const ConnectorInfo * | findFirst () const |
ConnectorInfo * | findLast () |
const ConnectorInfo * | findLast () const |
Protected Attributes inherited from Ms::ConnectorInfo | |
ElementType | _type { ElementType::INVALID } |
Location | _currentLoc |
Location | _prevLoc { Location::absolute() } |
Location | _nextLoc { Location::absolute() } |
ConnectorInfo * | _prev { 0 } |
ConnectorInfo * | _next { 0 } |
Helper class for reading beams, tuplets and spanners.
void Ms::ConnectorInfoReader::addToScore | ( | bool | pasteMode | ) |
Element * Ms::ConnectorInfoReader::connector | ( | ) |
const Element * Ms::ConnectorInfoReader::connector | ( | ) | const |
|
inline |
|
inline |
bool Ms::ConnectorInfoReader::read | ( | ) |
|
static |
|
private |
Element * Ms::ConnectorInfoReader::releaseConnector | ( | ) |
void Ms::ConnectorInfoReader::update | ( | ) |
|
private |
|
private |
|
private |