]> git.sesse.net Git - nageru/blob - mainwindow.h
Better handling of the aspect ratio stuff. Still some weirdness, though.
[nageru] / mainwindow.h
1 #ifndef MAINWINDOW_H
2 #define MAINWINDOW_H
3
4 #include <QMainWindow>
5 #include <vector>
6 #include <string>
7
8 namespace Ui {
9 class MainWindow;
10 }  // namespace Ui
11
12 class QPushButton;
13
14 class MainWindow : public QMainWindow
15 {
16         Q_OBJECT
17
18 public:
19         MainWindow();
20         void resizeEvent(QResizeEvent* event) override;
21
22 public slots:
23         void transition_clicked(int transition_number);
24         void channel_clicked(int channel_number);
25         void set_transition_names(std::vector<std::string> transition_names);
26
27 private:
28         Ui::MainWindow *ui;
29         QPushButton *transition_btn1, *transition_btn2, *transition_btn3;
30 };
31
32 #endif