1
0
mirror of https://github.com/ElvishArtisan/rivendell.git synced 2025-04-10 14:58:21 +02:00

2017-10-19 Fred Gleason <fredg@paravelsystems.com>

* Added a 'Show Event Type' filter to rdcatch(1).
This commit is contained in:
Fred Gleason 2017-10-19 09:52:13 -04:00
parent 4b5adfd53c
commit 349fe63e5c
12 changed files with 543 additions and 457 deletions

@ -16174,3 +16174,5 @@
* Updated 'NEWS'.
2017-10-17 Fred Gleason <fredg@paravelsystems.com>
* Incremented the package version to 2.17.0int00.
2017-10-19 Fred Gleason <fredg@paravelsystems.com>
* Added a 'Show Event Type' filter to rdcatch(1).

@ -671,32 +671,35 @@ QString RDRecording::feedKeyName() const
QString RDRecording::typeString(RDRecording::Type type)
{
QString str;
QString str=QObject::tr("Unknown");
switch(type) {
case RDRecording::Recording:
str=QObject::tr("Recording");
break;
case RDRecording::Recording:
str=QObject::tr("Recording");
break;
case RDRecording::MacroEvent:
str=QObject::tr("Macro Event");
break;
case RDRecording::MacroEvent:
str=QObject::tr("Macro Event");
break;
case RDRecording::SwitchEvent:
str=QObject::tr("Switch Event");
break;
case RDRecording::SwitchEvent:
str=QObject::tr("Switch Event");
break;
case RDRecording::Playout:
str=QObject::tr("Playout");
break;
case RDRecording::Playout:
str=QObject::tr("Playout");
break;
case RDRecording::Download:
str=QObject::tr("Download");
break;
case RDRecording::Download:
str=QObject::tr("Download");
break;
case RDRecording::Upload:
str=QObject::tr("Upload");
break;
case RDRecording::Upload:
str=QObject::tr("Upload");
break;
case RDRecording::LastType:
break;
}
return str;

@ -32,7 +32,7 @@ class RDRecording
enum StartType {HardStart=0,GpiStart=1};
enum EndType {HardEnd=0,GpiEnd=1,LengthEnd=2};
enum Type {Recording=0,MacroEvent=1,SwitchEvent=2,Playout=3,
Download=4,Upload=5};
Download=4,Upload=5,LastType=6};
enum ExitCode {Ok=0,Short=1,LowLevel=2,HighLevel=3,
Downloading=4,Uploading=5,ServerError=6,InternalError=7,
Interrupted=8,RecordActive=9,PlayActive=10,Waiting=11,

File diff suppressed because it is too large Load Diff

@ -108,7 +108,7 @@ class MainWidget : public QWidget
void selectionChangedData(QListViewItem *item);
void doubleClickedData(QListViewItem *,const QPoint &,int);
void filterChangedData(bool state);
void dowChangedData(int id);
void filterActivatedData(int id);
void clockData();
void midnightData();
void eventUpdatedData(int id);
@ -162,12 +162,7 @@ class MainWidget : public QWidget
QString catch_filter;
QString catch_group;
QString catch_schedcode;
QPixmap *catch_record_map;
QPixmap *catch_playout_map;
QPixmap *catch_macro_map;
QPixmap *catch_switch_map;
QPixmap *catch_download_map;
QPixmap *catch_upload_map;
QPixmap *catch_type_maps[RDRecording::LastType];
QTimer *catch_next_timer;
QPalette catch_scroll_color[2];
bool catch_scroll;
@ -179,6 +174,8 @@ class MainWidget : public QWidget
QCheckBox *catch_show_today_box;
QLabel *catch_dow_label;
QComboBox *catch_dow_box;
QLabel *catch_type_label;
QComboBox *catch_type_box;
QString catch_filter_string;
QTimer *catch_midnight_timer;
int catch_time_offset;
@ -187,4 +184,4 @@ class MainWidget : public QWidget
};
#endif
#endif // RDCATCH_H

@ -1323,5 +1323,13 @@ nové</translation>
<source>PCM24</source>
<translation type="unfinished">PCM24</translation>
</message>
<message>
<source>Show Event Type</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>All Types</source>
<translation type="unfinished"></translation>
</message>
</context>
</TS>

@ -1323,5 +1323,13 @@ Neu</translation>
<source>PCM24</source>
<translation type="unfinished">PCM24</translation>
</message>
<message>
<source>Show Event Type</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>All Types</source>
<translation type="unfinished"></translation>
</message>
</context>
</TS>

@ -1267,5 +1267,13 @@ como Nuevo</translation>
<source>PCM24</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Show Event Type</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>All Types</source>
<translation type="unfinished"></translation>
</message>
</context>
</TS>

@ -1257,5 +1257,13 @@ New</source>
<source>PCM24</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Show Event Type</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>All Types</source>
<translation type="unfinished"></translation>
</message>
</context>
</TS>

@ -1320,5 +1320,13 @@ ny</translation>
<source>PCM24</source>
<translation type="unfinished">PCM24</translation>
</message>
<message>
<source>Show Event Type</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>All Types</source>
<translation type="unfinished"></translation>
</message>
</context>
</TS>

@ -1320,5 +1320,13 @@ ny</translation>
<source>PCM24</source>
<translation type="unfinished">PCM24</translation>
</message>
<message>
<source>Show Event Type</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>All Types</source>
<translation type="unfinished"></translation>
</message>
</context>
</TS>

@ -1323,5 +1323,13 @@ Novo</translation>
<source>PCM24</source>
<translation type="unfinished">PCM24</translation>
</message>
<message>
<source>Show Event Type</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>All Types</source>
<translation type="unfinished"></translation>
</message>
</context>
</TS>