blob: 701bfec9e5def68eeb767756390d594658fe1155 (
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
49
50
51
52
53
54
55
56
57
|
//=========================================================
// 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_filtergui.h"
class Filter;
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
};
//---------------------------------------------------------
// FilterGui
//---------------------------------------------------------
class FilterGui : public QDialog, public Ui::FilterBase {
Q_OBJECT
Filter* filter;
signals:
void hideWindow();
private slots:
void rf1Toggled(bool);
void rf2Toggled(bool);
void rf3Toggled(bool);
void rf4Toggled(bool);
void rf5Toggled(bool);
void rf6Toggled(bool);
void rf7Toggled(bool);
void cb1Activated(int);
void cb2Activated(int);
void cb3Activated(int);
void cb4Activated(int);
public:
FilterGui(Filter*, QWidget* parent=0);
void init();
};
#endif
|