Loading...
Searching...
No Matches
score::QGraphicsNoteMatrix Class Referencefinal
Inheritance diagram for score::QGraphicsNoteMatrix:

Detailed Description

Where each degree of an octave goes: one column per input degree, one row per output degree from the root (bottom) to the octave above (top). A column has one lit cell, or none when that degree is muted.

A click lights a cell, a click on the lit cell mutes the column, a drag moves the lit cell up and down. The context menu resets, inverts and edits the map as text.

The value is an ossia list of 12 integers, -1 for a muted degree.

Public Member Functions

 QGraphicsNoteMatrix (QGraphicsItem *parent)
 
void setValue (const ossia::value &v)
 
ossia::value value () const
 
QString toText () const
 
bool setText (const QString &text)
 
QRectF boundingRect () const override
 
void sliderMoved ()
 
void sliderReleased ()
 

Public Attributes

bool moving = false
 

Static Public Attributes

static constexpr int off = -1
 
static constexpr int columns = 12
 
static constexpr int rows = 13
 

The documentation for this class was generated from the following files: