]>
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>
21 #include "instrument.h"
22 #include "stringinstrument.h"
23 #include "pianoinstrument.h"
24 #include "midiengine.h"
29 class MainWin
: public QWidget
38 void interfaceSelectionSlot(int);
44 void instrumentLayouts();
48 Instrument
*instrument
;
49 QComboBox
*soundSelection
;
50 QComboBox
*interfaceSelection
;
51 QComboBox
*octaveSelection
;
52 QLabel
*soundSelectionLabel
;
53 QLabel
*interfaceSelectionLabel
;
54 QLabel
*octaveSelectionLabel
;
58 QPushButton
*recordBtn
;
62 QVBoxLayout
*soundSelectionLayout
;
63 QVBoxLayout
*interfaceSelectionLayout
;
64 QVBoxLayout
*octaveSelectionLayout
;
65 QVBoxLayout
*midiBtnLayout
;
66 QVBoxLayout
*buttonsLayout
;
67 QHBoxLayout
*optionsLayout
;