]>
code.delx.au - virtualtones/blob - mainwin.h
1 // mainwin.h - Displays the MIDI keyboard and instrument selector
2 // Written by James Bunton <james@delx.net.au>
3 // Licensed under the GPL, see COPYING.txt for more details
10 #include <QApplication>
11 #include <QMessageBox>
14 #include <QPushButton>
16 #include <QFileDialog>
20 #include "instrument.h"
21 #include "stringinstrument.h"
22 #include "pianoinstrument.h"
23 #include "midiengine.h"
28 class MainWin
: public QWidget
37 void interfaceSelectionSlot(int);
43 void instrumentLayouts();
47 Instrument
*instrument
;
48 QComboBox
*soundSelection
;
49 QComboBox
*interfaceSelection
;
50 QComboBox
*octaveSelection
;
51 QLabel
*soundSelectionLabel
;
52 QLabel
*interfaceSelectionLabel
;
53 QLabel
*octaveSelectionLabel
;
57 QPushButton
*recordBtn
;
61 QVBoxLayout
*soundSelectionLayout
;
62 QVBoxLayout
*interfaceSelectionLayout
;
63 QVBoxLayout
*octaveSelectionLayout
;
64 QVBoxLayout
*midiBtnLayout
;
65 QVBoxLayout
*buttonsLayout
;
66 QHBoxLayout
*optionsLayout
;