-
Notifications
You must be signed in to change notification settings - Fork 0
/
MainWindow.h
48 lines (41 loc) · 900 Bytes
/
MainWindow.h
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
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QWidget>
#include <QMainWindow>
#include <QPushButton>
#include <QSlider>
#include <QSpinBox>
#include <QLabel>
#include <QGroupBox>
#include "Timer.h"
#include "Ticker.h"
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
MainWindow(QWidget *parent = 0);
~MainWindow();
private:
void setMainWindow();
void createMenu();
void createVolumeBox();
void createBPMBox();
void createButtonBox();
void createCheckBox();
QGroupBox *volumeGroupBox;
QGroupBox *BPMGroupBox;
QGroupBox *buttonBox;
QPushButton *playBtn;
QPushButton *stopBtn;
QWidget *wdg;
QSlider *BPMSlider;
QSlider *volSlider;
QLabel *volumeLabel;
QSpinBox *spinBox;
QLabel *label;
QCheckBox *firstBeatBox;
Ticker* ticker;
Timer* timer;
};
#endif // MAINWINDOW_H