1 |
// qsamplerInstrumentListForm.h |
// qsamplerInstrumentListForm.h |
2 |
// |
// |
3 |
/**************************************************************************** |
/**************************************************************************** |
4 |
Copyright (C) 2003-2007, rncbc aka Rui Nuno Capela. All rights reserved. |
Copyright (C) 2003-2009, 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 |
32 |
|
|
33 |
namespace QSampler { |
namespace QSampler { |
34 |
|
|
35 |
|
//------------------------------------------------------------------------- |
36 |
|
// QSampler::InstrumentListForm -- Instrument map list form interface. |
37 |
|
// |
38 |
|
|
39 |
class InstrumentListForm : public QMainWindow |
class InstrumentListForm : public QMainWindow |
40 |
{ |
{ |
41 |
Q_OBJECT |
Q_OBJECT |
43 |
public: |
public: |
44 |
|
|
45 |
InstrumentListForm(QWidget* pParent = NULL, Qt::WindowFlags wflags = 0); |
InstrumentListForm(QWidget* pParent = NULL, Qt::WindowFlags wflags = 0); |
46 |
~InstrumentListForm(); |
~InstrumentListForm(); |
47 |
|
|
48 |
public slots: |
public slots: |
49 |
|
|
54 |
void refreshInstruments(); |
void refreshInstruments(); |
55 |
void activateMap(int); |
void activateMap(int); |
56 |
|
|
57 |
|
void stabilizeForm(); |
58 |
|
|
59 |
|
// Handle custom context menu here... |
60 |
|
void contextMenu(const QPoint& pos); |
61 |
|
|
62 |
protected: |
protected: |
63 |
|
|
64 |
void showEvent(QShowEvent *); |
void showEvent(QShowEvent *); |