21 class MainWindow : public QMainWindow
27 void resizeEvent(QResizeEvent *event) override;
28 void mixer_created(Mixer *mixer);
31 void transition_clicked(int transition_number);
32 void channel_clicked(int channel_number);
33 void wb_button_clicked(int channel_number);
34 void set_transition_names(std::vector<std::string> transition_names);
35 void update_channel_name(Mixer::Output output);
36 void cutoff_knob_changed(int value);
37 void limiter_threshold_knob_changed(int value);
38 void compressor_threshold_knob_changed(int value);
39 void reset_meters_button_clicked();
43 bool eventFilter(QObject *watched, QEvent *event) override;
44 void set_white_balance(int channel_number, int x, int y);
46 // Called from the mixer.
47 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);
48 timeval last_audio_level_callback{0, 0};
51 QPushButton *transition_btn1, *transition_btn2, *transition_btn3;
52 std::vector<Ui::Display *> previews;
53 int current_wb_pick_display = -1;
56 extern MainWindow *global_mainwindow;