Measure Object

Atualizado 9 anos atrás

Allows access to some info about a single measure of a score.

A new Measure can be created with:
  measure = new Measure();
but it is probably more common to obtain a Measure object through a Cursor:
  measure = myCursor.measure();

See also:

Cursor Object .


Name Type Description
lineBreak bool if true, break the system after this measure
pageNumber integer the number of the page where this measure is drawn (read-only).


QRectF boundingRect()

The bounding box of this measure (in pixels).

QPointF pos()

The position in the page of this measure (in pixels).