]> git.sesse.net Git - nageru/blobdiff - mainwindow.h
Make some labels and a white balance button per preview (the latter is not hooked...
[nageru] / mainwindow.h
index fd6064067e1f5e1180ed87ef3123ca11ec02a82d..6a8e9db4f8ce7b14948d5c0fb50238a4b6dd6494 100644 (file)
@@ -2,13 +2,41 @@
 #define MAINWINDOW_H
 
 #include <QMainWindow>
+#include <string>
+#include <vector>
+
+class GLWidget;
+class QResizeEvent;
+
+namespace Ui {
+class Display;
+class MainWindow;
+}  // namespace Ui
+
+class Mixer;
+class QPushButton;
 
 class MainWindow : public QMainWindow
 {
-    Q_OBJECT
+       Q_OBJECT
 
 public:
-    MainWindow();
+       MainWindow();
+       void resizeEvent(QResizeEvent *event) override;
+       void mixer_created(Mixer *mixer);
+
+public slots:
+       void transition_clicked(int transition_number);
+       void channel_clicked(int channel_number);
+       void set_transition_names(std::vector<std::string> transition_names);
+       void relayout();
+
+private:
+       Ui::MainWindow *ui;
+       QPushButton *transition_btn1, *transition_btn2, *transition_btn3;
+       std::vector<Ui::Display *> previews;
 };
 
+extern MainWindow *global_mainwindow;
+
 #endif