]> git.sesse.net Git - nageru/blob - mainwindow.h
Wire the transition names through to the UI.
[nageru] / mainwindow.h
1 #ifndef MAINWINDOW_H
2 #define MAINWINDOW_H
3
4 #include <QMainWindow>
5 #include <vector>
6 #include <string>
7
8 class QPushButton;
9
10 class MainWindow : public QMainWindow
11 {
12         Q_OBJECT
13
14 public:
15         MainWindow();
16
17 public slots:
18         void transition_clicked(int transition_number);
19         void channel_clicked(int channel_number);
20         void set_transition_names(std::vector<std::string> transition_names);
21
22 private:
23         QPushButton *transition_btn1, *transition_btn2, *transition_btn3;
24 };
25
26 #endif