mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-01-12 15:45:59 +01:00
2021-08-04 Fred Gleason <fredg@paravelsystems.com>
* Modified rdairplay(1) to use the standard date/time formatting strings. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -31,7 +31,6 @@ ButtonLog::ButtonLog(RDLogPlay *log,int id,RDAirPlayConf *conf,bool allow_pause,
|
||||
log_log=log;
|
||||
log_action_mode=RDAirPlayConf::Normal;
|
||||
log_op_mode=RDAirPlayConf::LiveAssist;
|
||||
log_time_mode=RDAirPlayConf::TwentyFourHour;
|
||||
log_pause_enabled=allow_pause;
|
||||
|
||||
//
|
||||
@@ -106,7 +105,7 @@ ButtonLog::ButtonLog(RDLogPlay *log,int id,RDAirPlayConf *conf,bool allow_pause,
|
||||
|
||||
QSize ButtonLog::sizeHint() const
|
||||
{
|
||||
return QSize(492,800);
|
||||
return QSize(532,800);
|
||||
}
|
||||
|
||||
|
||||
@@ -278,19 +277,6 @@ void ButtonLog::setActionMode(RDAirPlayConf::ActionMode mode,int *cartnum)
|
||||
}
|
||||
|
||||
|
||||
void ButtonLog::setTimeMode(RDAirPlayConf::TimeMode mode)
|
||||
{
|
||||
if(mode==log_time_mode) {
|
||||
return;
|
||||
}
|
||||
log_time_mode=mode;
|
||||
for(int i=0;i<BUTTON_TOTAL_BUTTONS;i++) {
|
||||
log_start_button[i]->setTimeMode(mode);
|
||||
log_line_box[i]->setTimeMode(mode);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
PieCounter *ButtonLog::pieCounterWidget() const
|
||||
{
|
||||
return log_pie_counter_widget;
|
||||
@@ -485,7 +471,7 @@ void ButtonLog::cartDroppedData(int line,RDLogLine *ll)
|
||||
void ButtonLog::resizeEvent(QResizeEvent *e)
|
||||
{
|
||||
log_post_counter_widget->setGeometry(5,
|
||||
15+10,
|
||||
25,
|
||||
log_post_counter_widget->sizeHint().width(),
|
||||
log_post_counter_widget->sizeHint().height());
|
||||
log_pie_counter_widget->setGeometry(10+log_post_counter_widget->size().width(),
|
||||
|
||||
Reference in New Issue
Block a user