19 class MainWindow : public QMainWindow
25 void resizeEvent(QResizeEvent *event) override;
26 void mixer_created(Mixer *mixer);
29 void transition_clicked(int transition_number);
30 void channel_clicked(int channel_number);
31 void wb_button_clicked(int channel_number);
32 void set_transition_names(std::vector<std::string> transition_names);
33 void cutoff_knob_changed(int value);
34 void limiter_threshold_knob_changed(int value);
35 void compressor_threshold_knob_changed(int value);
36 void reset_meters_button_clicked();
40 bool eventFilter(QObject *watched, QEvent *event) override;
41 void set_white_balance(int channel_number, int x, int y);
43 // Called from the mixer.
44 void audio_level_callback(float level_lufs, float peak_db, float global_level_lufs, float range_low_lufs, float range_high_lufs, float auto_gain_staging_db);
47 QPushButton *transition_btn1, *transition_btn2, *transition_btn3;
48 std::vector<Ui::Display *> previews;
49 int current_wb_pick_display = -1;
52 extern MainWindow *global_mainwindow;