1 |
// qsamplerInstrumentListForm.h |
// qsamplerInstrumentListForm.h |
2 |
// |
// |
3 |
/**************************************************************************** |
/**************************************************************************** |
4 |
Copyright (C) 2003-2010, rncbc aka Rui Nuno Capela. All rights reserved. |
Copyright (C) 2003-2015, rncbc aka Rui Nuno Capela. All rights reserved. |
5 |
Copyright (C) 2007, Christian Schoenebeck |
Copyright (C) 2007, Christian Schoenebeck |
6 |
|
|
7 |
This program is free software; you can redistribute it and/or |
This program is free software; you can redistribute it and/or |
25 |
|
|
26 |
#include "ui_qsamplerInstrumentListForm.h" |
#include "ui_qsamplerInstrumentListForm.h" |
27 |
|
|
28 |
|
class QModelIndex; |
29 |
class QComboBox; |
class QComboBox; |
30 |
|
|
31 |
namespace QSampler { |
namespace QSampler { |
47 |
|
|
48 |
public slots: |
public slots: |
49 |
|
|
50 |
|
void newInstrument(); |
51 |
void editInstrument(); |
void editInstrument(); |
52 |
void editInstrument(const QModelIndex& index); |
void editInstrument(const QModelIndex& index); |
|
void newInstrument(); |
|
53 |
void deleteInstrument(); |
void deleteInstrument(); |
54 |
void refreshInstruments(); |
void refreshInstruments(); |
55 |
void activateMap(int); |
void activateMap(int); |
56 |
|
|
57 |
void stabilizeForm(); |
void stabilizeForm(); |
58 |
|
|
|
// Handle custom context menu here... |
|
|
void contextMenu(const QPoint& pos); |
|
|
|
|
59 |
protected: |
protected: |
60 |
|
|
61 |
void showEvent(QShowEvent *); |
void showEvent(QShowEvent *); |
62 |
void hideEvent(QHideEvent *); |
void hideEvent(QHideEvent *); |
63 |
void closeEvent(QCloseEvent *); |
void closeEvent(QCloseEvent *); |
64 |
|
|
65 |
|
void contextMenuEvent(QContextMenuEvent *); |
66 |
|
|
67 |
private: |
private: |
68 |
|
|
69 |
Ui::qsamplerInstrumentListForm m_ui; |
Ui::qsamplerInstrumentListForm m_ui; |