MuseScore  3.4
Music composition and notation
Public Slots | Public Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
Ms::PianorollEditor Class Reference

#include <pianoroll.h>

Inheritance diagram for Ms::PianorollEditor:
Inheritance graph
[legend]
Collaboration diagram for Ms::PianorollEditor:
Collaboration graph
[legend]

Public Slots

void changeSelection (SelState)
 

Public Member Functions

 PianorollEditor (QWidget *parent=0)
 
virtual ~PianorollEditor ()
 
void setStaff (Staff *staff)
 
void focusOnPosition (Position *p)
 
void heartBeat (Seq *)
 
virtual void dataChanged (const QRectF &) override
 
virtual void updateAll () override
 
virtual void removeScore () override
 
virtual void changeEditElement (Element *) override
 
virtual QCursor cursor () const override
 
virtual void setCursor (const QCursor &) override
 
const QTransform & matrix () const
 
virtual ElementelementNear (QPointF) override
 
virtual void drawBackground (QPainter *, const QRectF &) const override
 
void setLocator (POS posi, int tick)
 
void writeSettings ()
 
virtual const QRect geometry () const override
 
- Public Member Functions inherited from Ms::MuseScoreView
 MuseScoreView ()
 
Pagepoint2page (const QPointF &)
 
ElementelementAt (const QPointF &p)
 
const QList< Element * > elementsAt (const QPointF &)
 
virtual void layoutChanged ()
 
virtual void moveCursor ()
 
virtual void showLoopCursors (bool)
 
virtual void adjustCanvasPosition (const Element *, bool, int=-1)
 
virtual void setScore (Score *s)
 
Scorescore () const
 
virtual void setDropRectangle (const QRectF &)
 
virtual void cmdAddSlur (ChordRest *, ChordRest *, const Slur *)
 
virtual void startEdit (Element *, Grip)
 
virtual void startNoteEntryMode ()
 
virtual void setDropTarget (const Element *)
 
virtual void textTab (bool)
 
virtual void lyricsTab (bool, bool, bool)
 
virtual void lyricsReturn ()
 
virtual void lyricsEndEdit ()
 
virtual void lyricsUpDown (bool, bool)
 
virtual void lyricsMinus ()
 
virtual void lyricsUnderscore ()
 
virtual void onElementDestruction (Element *)
 

Private Slots

void selectionChanged ()
 
void veloTypeChanged (int)
 
void velocityChanged (int)
 
void keyPressed (int)
 
void keyReleased (int)
 
void moveLocator (int, const Pos &)
 
void cmd (QAction *)
 
void rangeChanged (int min, int max)
 
void setXpos (int x)
 
void showWaveView (bool)
 
void posChanged (POS pos, unsigned tick)
 
void tickLenChanged (int)
 
void onTimeChanged (int val)
 
void playlistChanged ()
 

Private Member Functions

void updateVelocity (Note *note)
 
void updateSelection ()
 
void readSettings ()
 
void doUpdate ()
 

Private Attributes

PianoViewpianoView
 
PianoKeyboardpianoKbd
 
PianoLevelspianoLevels
 
PianoLevelsChooserpianoLevelsChooser
 
QScrollBar * hsb
 
Score_score
 
Staffstaff
 
QLabel * partLabel
 
Awl::PitchEditpitch
 
QSpinBox * velocity
 
QSpinBox * onTime
 
QSpinBox * tickLen
 
Pos locator [3]
 
QComboBox * barPattern
 
QComboBox * veloType
 
QSpinBox * subdiv
 
QSpinBox * tuplet
 
Awl::PosLabelpos
 
PianoRulerruler
 
QAction * showWave
 
WaveViewwaveView
 
QSplitter * split
 
QList< QAction * > actions
 
bool updateScheduled = false
 

Additional Inherited Members

- Protected Attributes inherited from Ms::MuseScoreView
Score_score
 

Constructor & Destructor Documentation

◆ PianorollEditor()

Ms::PianorollEditor::PianorollEditor ( QWidget *  parent = 0)

◆ ~PianorollEditor()

Ms::PianorollEditor::~PianorollEditor ( )
virtual

Member Function Documentation

◆ changeEditElement()

void Ms::PianorollEditor::changeEditElement ( Element )
overridevirtual

Reimplemented from Ms::MuseScoreView.

◆ changeSelection

void Ms::PianorollEditor::changeSelection ( SelState  )
slot

◆ cmd

void Ms::PianorollEditor::cmd ( QAction *  )
privateslot

◆ cursor()

QCursor Ms::PianorollEditor::cursor ( ) const
overridevirtual

Reimplemented from Ms::MuseScoreView.

◆ dataChanged()

void Ms::PianorollEditor::dataChanged ( const QRectF &  )
overridevirtual

Implements Ms::MuseScoreView.

◆ doUpdate()

void Ms::PianorollEditor::doUpdate ( )
private

◆ drawBackground()

virtual void Ms::PianorollEditor::drawBackground ( QPainter *  ,
const QRectF &   
) const
inlineoverridevirtual

Implements Ms::MuseScoreView.

◆ elementNear()

Element * Ms::PianorollEditor::elementNear ( QPointF  )
overridevirtual

Reimplemented from Ms::MuseScoreView.

◆ focusOnPosition()

void Ms::PianorollEditor::focusOnPosition ( Position p)

◆ geometry()

virtual const QRect Ms::PianorollEditor::geometry ( ) const
inlineoverridevirtual

Implements Ms::MuseScoreView.

◆ heartBeat()

void Ms::PianorollEditor::heartBeat ( Seq s)

◆ keyPressed

void Ms::PianorollEditor::keyPressed ( int  p)
privateslot

◆ keyReleased

void Ms::PianorollEditor::keyReleased ( int  )
privateslot

◆ matrix()

const QTransform & Ms::PianorollEditor::matrix ( ) const

◆ moveLocator

void Ms::PianorollEditor::moveLocator ( int  i,
const Pos p 
)
privateslot

◆ onTimeChanged

void Ms::PianorollEditor::onTimeChanged ( int  val)
privateslot

◆ playlistChanged

void Ms::PianorollEditor::playlistChanged ( )
privateslot

◆ posChanged

void Ms::PianorollEditor::posChanged ( POS  pos,
unsigned  tick 
)
privateslot

◆ rangeChanged

void Ms::PianorollEditor::rangeChanged ( int  min,
int  max 
)
privateslot

◆ readSettings()

void Ms::PianorollEditor::readSettings ( )
private

◆ removeScore()

void Ms::PianorollEditor::removeScore ( )
overridevirtual

Reimplemented from Ms::MuseScoreView.

◆ selectionChanged

void Ms::PianorollEditor::selectionChanged ( )
privateslot

◆ setCursor()

void Ms::PianorollEditor::setCursor ( const QCursor &  )
overridevirtual

Reimplemented from Ms::MuseScoreView.

◆ setLocator()

void Ms::PianorollEditor::setLocator ( POS  posi,
int  tick 
)
inline

◆ setStaff()

void Ms::PianorollEditor::setStaff ( Staff staff)

◆ setXpos

void Ms::PianorollEditor::setXpos ( int  x)
privateslot

◆ showWaveView

void Ms::PianorollEditor::showWaveView ( bool  val)
privateslot

◆ tickLenChanged

void Ms::PianorollEditor::tickLenChanged ( int  val)
privateslot

◆ updateAll()

void Ms::PianorollEditor::updateAll ( )
overridevirtual

Implements Ms::MuseScoreView.

◆ updateSelection()

void Ms::PianorollEditor::updateSelection ( )
private

◆ updateVelocity()

void Ms::PianorollEditor::updateVelocity ( Note note)
private

◆ velocityChanged

void Ms::PianorollEditor::velocityChanged ( int  val)
privateslot

◆ veloTypeChanged

void Ms::PianorollEditor::veloTypeChanged ( int  val)
privateslot

◆ writeSettings()

void Ms::PianorollEditor::writeSettings ( )

Member Data Documentation

◆ _score

Score* Ms::PianorollEditor::_score
private

◆ actions

QList<QAction*> Ms::PianorollEditor::actions
private

◆ barPattern

QComboBox* Ms::PianorollEditor::barPattern
private

◆ hsb

QScrollBar* Ms::PianorollEditor::hsb
private

◆ locator

Pos Ms::PianorollEditor::locator[3]
private

◆ onTime

QSpinBox* Ms::PianorollEditor::onTime
private

◆ partLabel

QLabel* Ms::PianorollEditor::partLabel
private

◆ pianoKbd

PianoKeyboard* Ms::PianorollEditor::pianoKbd
private

◆ pianoLevels

PianoLevels* Ms::PianorollEditor::pianoLevels
private

◆ pianoLevelsChooser

PianoLevelsChooser* Ms::PianorollEditor::pianoLevelsChooser
private

◆ pianoView

PianoView* Ms::PianorollEditor::pianoView
private

◆ pitch

Awl::PitchEdit* Ms::PianorollEditor::pitch
private

◆ pos

Awl::PosLabel* Ms::PianorollEditor::pos
private

◆ ruler

PianoRuler* Ms::PianorollEditor::ruler
private

◆ showWave

QAction* Ms::PianorollEditor::showWave
private

◆ split

QSplitter* Ms::PianorollEditor::split
private

◆ staff

Staff* Ms::PianorollEditor::staff
private

◆ subdiv

QSpinBox* Ms::PianorollEditor::subdiv
private

◆ tickLen

QSpinBox* Ms::PianorollEditor::tickLen
private

◆ tuplet

QSpinBox* Ms::PianorollEditor::tuplet
private

◆ updateScheduled

bool Ms::PianorollEditor::updateScheduled = false
private

◆ velocity

QSpinBox* Ms::PianorollEditor::velocity
private

◆ veloType

QComboBox* Ms::PianorollEditor::veloType
private

◆ waveView

WaveView* Ms::PianorollEditor::waveView
private

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