summaryrefslogtreecommitdiff
path: root/attic/muse_qt4_evolution/midiplugins/trigg/trigggui.h
blob: f4c597fa206e6888c34ccc96dd68e99756dc7c50 (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
42
43
44
45
46
47
48
//=========================================================
//  MusE
//  Linux Music Editor
//  $Id: filtergui.h,v 1.4 2005/11/06 17:49:34 wschweer Exp $
//
//  (C) Copyright 2005 Werner Schweer (ws@seh.de)
//=========================================================

#ifndef __FILTERGUI_H__
#define __FILTERGUI_H__

#include "ui_trigggui.h"

class Trigg;

enum {
      MIDI_FILTER_NOTEON    = 1,
      MIDI_FILTER_POLYP     = 2,
      MIDI_FILTER_CTRL      = 4,
      MIDI_FILTER_PROGRAM   = 8,
      MIDI_FILTER_AT        = 16,
      MIDI_FILTER_PITCH     = 32,
      MIDI_FILTER_SYSEX     = 64
      };

//---------------------------------------------------------
//   TriggGui
//---------------------------------------------------------

class TriggGui : public QDialog, public Ui::TriggBase {
      Q_OBJECT

      Trigg* filter;

   signals:
      void hideWindow();

   private slots:
      void setNote(int );
      void setVelocity(int );

   public:
      TriggGui(Trigg*, QWidget* parent=0);
      void init();
      };

#endif