X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=futatabi%2Fmainwindow.h;h=669fc0e9e29e810c2ef27f91d9a9bfa8ccf3050d;hb=c71ef0f3bbba901f6019083acd56ff43c1654a98;hp=8492eb34d09fed7172504e0aaf5c17058830f5d3;hpb=6e3e839e23309b1214ff8d9954e97e6194db61a8;p=nageru diff --git a/futatabi/mainwindow.h b/futatabi/mainwindow.h index 8492eb3..669fc0e 100644 --- a/futatabi/mainwindow.h +++ b/futatabi/mainwindow.h @@ -10,6 +10,7 @@ #include #include #include +#include #include #include #include @@ -42,6 +43,7 @@ private: QLabel *disk_free_label; std::unique_ptr preview_player, live_player; + std::map live_player_index_to_row; DB db; unsigned num_cameras; @@ -88,6 +90,10 @@ private: }; std::vector displays; + // Used to get tally information, if a tally URL is set. + QNetworkAccessManager http; + QNetworkReply *http_reply = nullptr; + void change_num_cameras(); void cue_in_clicked(); void cue_out_clicked(); @@ -129,12 +135,16 @@ private: void undo_triggered(); void redo_triggered(); void quality_toggled(int quality, bool checked); + void padding_toggled(double seconds, bool checked); void highlight_camera_input(int stream_idx); template void replace_model(QTableView *view, Model **model, Model *new_model); + void start_tally(); + void tally_received(); + private slots: void relayout(); };