summaryrefslogtreecommitdiff
path: root/muse_qt4_evolution/midiplugins/drumglue/globalinstrumentview.h
blob: f923ec4906ea329a0e8eff806c10d83dc7d6a48c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
//=========================================================
//  MusE
//  Linux Music Editor
//
//  (C) Copyright 2008 Robert Jonsson (rj@spamatica.se)
//  (C) Copyright 2005- Werner Schweer (ws@seh.de)
// Copyright: See COPYING file that comes with this distribution
//=========================================================

#ifndef __GLOBALINSTRUMENTVIEW_H__
#define __GLOBALINSTRUMENTVIEW_H__

#include "ui_globalinstrumentview.h"

#include "drumglue.h"
//---------------------------------------------------------
//   GlobalInstrumentView
//---------------------------------------------------------
class DrumGlue;

class GlobalInstrumentView : public QWidget, public Ui::GlobalInstrumentViewBase {
      Q_OBJECT

	  DrumGlue *drumGlue;
	  QString instrumentName;
	DrumInstrument *getCurrentOutputInstrument();
	  
   public:
      GlobalInstrumentView(DrumGlue*, QWidget* parent, QString name);
   private slots:
	  void addOutput();
	  void editOutput();
	  void removeOutput();
	  void updateInKey();
	  
   public slots:
	  void updateList();
      };

#endif