mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-12-05 08:10:21 +01:00
2022-11-01 Fred Gleason <fredg@paravelsystems.com>
* Refactored rdcatch(1) to use the notification mechanism instead of the 'Input Monitor State' catch command. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
//
|
||||
// Monitor a Rivendell Netcatcher Deck
|
||||
//
|
||||
// (C) Copyright 2002-2019 Fred Gleason <fredg@paravelsystems.com>
|
||||
// (C) Copyright 2002-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License version 2 as
|
||||
@@ -42,16 +42,11 @@ class DeckMon : public RDFrame
|
||||
void enableMonitorButton(bool state);
|
||||
|
||||
public slots:
|
||||
void setMonitor(bool state);
|
||||
void setStatus(RDDeck::Status status,int id,const QString &cutname);
|
||||
void setLeftMeter(int level);
|
||||
void setRightMeter(int level);
|
||||
void processCatchEvent(RDCatchEvent *evt);
|
||||
|
||||
signals:
|
||||
void monitorClicked();
|
||||
// void abortClicked();
|
||||
|
||||
protected:
|
||||
void resizeEvent(QResizeEvent *e);
|
||||
|
||||
@@ -67,6 +62,7 @@ class DeckMon : public RDFrame
|
||||
QLabel *mon_status_label;
|
||||
QPushButton *mon_abort_button;
|
||||
QPushButton *mon_monitor_button;
|
||||
bool mon_monitor_state;
|
||||
QPalette *mon_monitor_palette;
|
||||
RDPlayMeter *mon_left_meter;
|
||||
RDPlayMeter *mon_right_meter;
|
||||
@@ -80,5 +76,5 @@ class DeckMon : public RDFrame
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
#endif // DECKMON_H
|
||||
|
||||
|
||||
Reference in New Issue
Block a user