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

#include <selinstrument.h>

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

Public Member Functions

 SelectInstrument (const Instrument *, QWidget *parent=0)
 
const InstrumentTemplateinstrTemplate () const
 

Private Slots

void buildTemplateList ()
 
void expandOrCollapse (const QModelIndex &)
 
void on_instrumentList_itemSelectionChanged ()
 
void on_instrumentList_itemDoubleClicked (QTreeWidgetItem *item, int)
 
void on_search_textChanged (const QString &)
 
void on_instrumentGenreFilter_currentIndexChanged (int)
 
void filterInstrumentsByGenre (QTreeWidget *, QString)
 

Private Member Functions

virtual void hideEvent (QHideEvent *)
 

Constructor & Destructor Documentation

◆ SelectInstrument()

Ms::SelectInstrument::SelectInstrument ( const Instrument instrument,
QWidget *  parent = 0 
)

Member Function Documentation

◆ buildTemplateList

void Ms::SelectInstrument::buildTemplateList ( )
privateslot

◆ expandOrCollapse

void Ms::SelectInstrument::expandOrCollapse ( const QModelIndex &  model)
privateslot

◆ filterInstrumentsByGenre

void Ms::SelectInstrument::filterInstrumentsByGenre ( QTreeWidget *  instrList,
QString  genre 
)
privateslot

◆ hideEvent()

void Ms::SelectInstrument::hideEvent ( QHideEvent *  event)
privatevirtual

◆ instrTemplate()

const InstrumentTemplate * Ms::SelectInstrument::instrTemplate ( ) const

◆ on_instrumentGenreFilter_currentIndexChanged

void Ms::SelectInstrument::on_instrumentGenreFilter_currentIndexChanged ( int  index)
privateslot

◆ on_instrumentList_itemDoubleClicked

void Ms::SelectInstrument::on_instrumentList_itemDoubleClicked ( QTreeWidgetItem *  item,
int   
)
privateslot

◆ on_instrumentList_itemSelectionChanged

void Ms::SelectInstrument::on_instrumentList_itemSelectionChanged ( )
privateslot

◆ on_search_textChanged

void Ms::SelectInstrument::on_search_textChanged ( const QString &  )
privateslot

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