]> git.sesse.net Git - nageru/blob - mainwindow.h
Re-run IWYU, again with lots of manual cleanup.
[nageru] / mainwindow.h
1 #ifndef MAINWINDOW_H
2 #define MAINWINDOW_H
3
4 #include <QMainWindow>
5 #include <string>
6 #include <vector>
7
8 class QResizeEvent;
9
10 namespace Ui {
11 class MainWindow;
12 }  // namespace Ui
13
14 class Mixer;
15 class QPushButton;
16
17 class MainWindow : public QMainWindow
18 {
19         Q_OBJECT
20
21 public:
22         MainWindow();
23         void resizeEvent(QResizeEvent *event) override;
24         void mixer_created(Mixer *mixer);
25
26 public slots:
27         void transition_clicked(int transition_number);
28         void channel_clicked(int channel_number);
29         void set_transition_names(std::vector<std::string> transition_names);
30         void relayout();
31
32 private:
33         Ui::MainWindow *ui;
34         QPushButton *transition_btn1, *transition_btn2, *transition_btn3;
35 };
36
37 extern MainWindow *global_mainwindow;
38
39 #endif