|
lmms
Cross-platform music production software
|
#include <PatchesDialog.h>
Public Slots | |
| void | stabilizeForm () |
| void | bankChanged () |
| void | progChanged (QTreeWidgetItem *curr, QTreeWidgetItem *prev) |
| void | stabilizeForm () |
| void | bankChanged () |
| void | progChanged (const QModelIndex &cur, const QModelIndex &prev) |
Public Member Functions | |
| PatchesDialog (QWidget *pParent=0, Qt::WindowFlags wflags=QFlag(0)) | |
| ~PatchesDialog () override=default | |
| void | setup (GigInstance *pSynth, int iChan, const QString &chanName, LcdSpinBoxModel *bankModel, LcdSpinBoxModel *progModel, QLabel *patchLabel) |
| PatchesDialog (QWidget *pParent=0, Qt::WindowFlags wflags=QFlag(0)) | |
| ~PatchesDialog () override=default | |
| void | setup (fluid_synth_t *pSynth, int iChan, const QString &_chanName, LcdSpinBoxModel *_bankModel, LcdSpinBoxModel *_progModel, QLabel *_patchLabel) |
Protected Slots | |
| void | accept () override |
| void | reject () override |
| void | accept () override |
| void | reject () override |
Protected Member Functions | |
| void | setBankProg (int iBank, int iProg) |
| QTreeWidgetItem * | findBankItem (int iBank) |
| QTreeWidgetItem * | findProgItem (int iProg) |
| bool | validateForm () |
| void | setBankProg (int iBank, int iProg) |
| QTreeWidgetItem * | findBankItem (int iBank) |
| QStandardItem * | findProgItem (int iProg) |
| Finds the program item of given program number id in the source model. | |
| bool | validateForm () |
| void | updatePatch (bool updateUi) |
| void | diffSelectProgRow (int offset) |
Private Member Functions | |
| void | keyPressEvent (QKeyEvent *event) override |
Private Attributes | |
| GigInstance * | m_pSynth |
| int | m_iChan |
| int | m_iBank |
| int | m_iProg |
| int | m_dirty |
| LcdSpinBoxModel * | m_bankModel |
| LcdSpinBoxModel * | m_progModel |
| QLabel * | m_patchLabel |
| fluid_synth_t * | m_pSynth |
| int | m_selProg |
| QString | m_selProgName |
| QStandardItemModel | m_progListSourceModel |
| Programs on the selected bank. | |
| QSortFilterProxyModel | m_progListProxyModel |
| Model to allow searching. | |
| lmms::gui::PatchesDialog::PatchesDialog | ( | QWidget * | pParent = 0, |
| Qt::WindowFlags | wflags = QFlag(0) ) |
|
overridedefault |
| lmms::gui::PatchesDialog::PatchesDialog | ( | QWidget * | pParent = 0, |
| Qt::WindowFlags | wflags = QFlag(0) ) |
|
overridedefault |
|
overrideprotectedslot |
|
overrideprotectedslot |
|
slot |
|
slot |
|
protected |
Selects a row in the program selector based off a signed offset from the currently selected row. Also clamps the selection.
|
protected |
|
protected |
|
protected |
|
protected |
Finds the program item of given program number id in the source model.
|
overrideprivate |
|
slot |
|
slot |
|
overrideprotectedslot |
|
overrideprotectedslot |
|
protected |
|
protected |
| void lmms::gui::PatchesDialog::setup | ( | fluid_synth_t * | pSynth, |
| int | iChan, | ||
| const QString & | _chanName, | ||
| LcdSpinBoxModel * | _bankModel, | ||
| LcdSpinBoxModel * | _progModel, | ||
| QLabel * | _patchLabel ) |
| void lmms::gui::PatchesDialog::setup | ( | GigInstance * | pSynth, |
| int | iChan, | ||
| const QString & | chanName, | ||
| LcdSpinBoxModel * | bankModel, | ||
| LcdSpinBoxModel * | progModel, | ||
| QLabel * | patchLabel ) |
|
slot |
|
slot |
|
protected |
Updates the current patch, and updates the UI controls if updateUi is true.
|
protected |
|
protected |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Model to allow searching.
|
private |
Programs on the selected bank.
|
private |
|
private |
|
private |
|
private |
|
private |