00001 #ifndef MAINWINDOW_H 00002 #define MAINWINDOW_H 00003 00004 #include <QMainWindow> 00005 #include <QWidget> 00006 #include "Presenter.h" 00007 00008 namespace Ui { 00009 class MainWindow; 00010 } 00012 00016 class MainWindow : public QMainWindow 00017 { 00018 Q_OBJECT 00019 00020 public: 00022 00024 explicit MainWindow(QWidget *parent = 0); 00026 00028 void initButtons(); 00030 00032 void setStrings(); 00034 00036 void setPatchList(); 00038 00040 QString getSelectedPatch(); 00041 ~MainWindow(); 00042 00043 public slots: 00045 00049 void startPatch(); 00051 00054 void stopPatch(); 00056 00058 void selectPatch(); 00060 00062 void adjustVolume(); 00064 00066 void adjustStrength(); 00068 00071 void updatePatchList(); 00072 00073 private: 00074 Ui::MainWindow *ui; 00075 }; 00076 00077 #endif // MAINWINDOW_H
1.7.3