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

Detailed Description

The 16 MIDI channels as two rows of toggles, every channel on at first. Its text form is made of channel numbers and ranges: "1-4, 10".

The value is an ossia list of 16 booleans, channel 1 first.

Public Member Functions

 QGraphicsChannelMask (QGraphicsItem *parent)
 
QString toText () const override
 
bool setText (const QString &text) override
 False, and the cells unchanged, when the text names no cell.
 
- Public Member Functions inherited from score::QGraphicsToggleGrid
 QGraphicsToggleGrid (QGraphicsItem *parent)
 
void setLabels (QStringList labels, int perRow)
 
const QStringList & labels () const noexcept
 
void setValue (const ossia::value &v)
 
ossia::value value () const
 
QRectF boundingRect () const override
 
void sliderMoved ()
 
void sliderReleased ()
 

Additional Inherited Members

- Public Attributes inherited from score::QGraphicsToggleGrid
bool moving = false
 
- Protected Member Functions inherited from score::QGraphicsToggleGrid
void set (std::vector< bool > on)
 Sets every cell and reports one edit.
 
const std::vector< bool > & cells () const noexcept
 

Member Function Documentation

◆ setText()

bool score::QGraphicsChannelMask::setText ( const QString &  text)
overridevirtual

False, and the cells unchanged, when the text names no cell.

Reimplemented from score::QGraphicsToggleGrid.

◆ toText()

QString score::QGraphicsChannelMask::toText ( ) const
overridevirtual

Reimplemented from score::QGraphicsToggleGrid.


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