blob: a6aadc1b78474629f9ffc7a872992587795548f1 (
plain) (
blame)
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
|
#ifndef QMPKEYBOARDWINDOW_HPP
#define QMPKEYBOARDWINDOW_HPP
#include "qmpcorepublic.hpp"
#include <QWidget>
class QLabel;
class qmpPianoWidget;
class qmpKeyboardWindow: public QWidget
{
Q_OBJECT
private:
qmpPianoWidget *pw[16];
QLabel *lb[16];
qmpPluginAPI *api;
int eh;
public:
qmpKeyboardWindow(qmpPluginAPI *_api, QWidget *parent);
~qmpKeyboardWindow();
void resetAll();
protected:
void closeEvent(QCloseEvent *event);
signals:
void keystateupdated(int ch, int key, bool state);
public slots:
void onkeystatesupdate(int ch, int key, bool state);
};
#endif
|