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

#include <chordview.h>

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

Public Member Functions

 ChordItem (ChordView *, Note *, NoteEvent *)
 
virtual int type () const
 
NoteEventevent () const
 
Notenote () const
 
bool current () const
 
void setCurrent (bool v)
 

Private Member Functions

virtual void paint (QPainter *, const QStyleOptionGraphicsItem *, QWidget *=0)
 
virtual void mouseMoveEvent (QGraphicsSceneMouseEvent *)
 

Private Attributes

ChordView_view
 
Note_note
 
NoteEvent_event
 
bool _current
 

Constructor & Destructor Documentation

◆ ChordItem()

Ms::ChordItem::ChordItem ( ChordView v,
Note n,
NoteEvent e 
)

Member Function Documentation

◆ current()

bool Ms::ChordItem::current ( ) const
inline

◆ event()

NoteEvent* Ms::ChordItem::event ( ) const
inline

◆ mouseMoveEvent()

void Ms::ChordItem::mouseMoveEvent ( QGraphicsSceneMouseEvent *  event)
privatevirtual

◆ note()

Note* Ms::ChordItem::note ( ) const
inline

◆ paint()

void Ms::ChordItem::paint ( QPainter *  painter,
const QStyleOptionGraphicsItem *  ,
QWidget *  = 0 
)
privatevirtual

◆ setCurrent()

void Ms::ChordItem::setCurrent ( bool  v)

◆ type()

virtual int Ms::ChordItem::type ( ) const
inlinevirtual

Member Data Documentation

◆ _current

bool Ms::ChordItem::_current
private

◆ _event

NoteEvent* Ms::ChordItem::_event
private

◆ _note

Note* Ms::ChordItem::_note
private

◆ _view

ChordView* Ms::ChordItem::_view
private

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