New upstream version 18.0.1+dfsg1
This commit is contained in:
parent
6efda2859e
commit
f2cf6cce50
1337 changed files with 41178 additions and 84670 deletions
40
UI/frontend-plugins/frontend-tools/output-timer.hpp
Normal file
40
UI/frontend-plugins/frontend-tools/output-timer.hpp
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
#pragma once
|
||||
|
||||
#include <QDialog>
|
||||
#include <memory>
|
||||
|
||||
#include "ui_output-timer.h"
|
||||
|
||||
class QCloseEvent;
|
||||
|
||||
class OutputTimer : public QDialog {
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
std::unique_ptr<Ui_OutputTimer> ui;
|
||||
OutputTimer(QWidget *parent);
|
||||
|
||||
void closeEvent(QCloseEvent *event) override;
|
||||
|
||||
public slots:
|
||||
void StreamingTimerButton();
|
||||
void RecordingTimerButton();
|
||||
void StreamTimerStart();
|
||||
void RecordTimerStart();
|
||||
void StreamTimerStop();
|
||||
void RecordTimerStop();
|
||||
void UpdateStreamTimerDisplay();
|
||||
void UpdateRecordTimerDisplay();
|
||||
void ShowHideDialog();
|
||||
void EventStopStreaming();
|
||||
void EventStopRecording();
|
||||
|
||||
private:
|
||||
bool streamingAlreadyActive = false;
|
||||
bool recordingAlreadyActive = false;
|
||||
|
||||
QTimer *streamingTimer;
|
||||
QTimer *recordingTimer;
|
||||
QTimer *streamingTimerDisplay;
|
||||
QTimer *recordingTimerDisplay;
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue