2018-08-15 Fred Gleason <fredg@paravelsystems.com>

* Fixed text rendering errors in the 'Edit Event' dialog in
	rdlogmanager(1).
This commit is contained in:
Fred Gleason
2018-08-15 20:04:46 +00:00
parent edca43013a
commit 04ac48a52f
3 changed files with 79 additions and 87 deletions

View File

@@ -17423,3 +17423,6 @@
* Fixed style inconsistencies in dialogs within rdcastmanager(1). * Fixed style inconsistencies in dialogs within rdcastmanager(1).
2018-08-15 Fred Gleason <fredg@paravelsystems.com> 2018-08-15 Fred Gleason <fredg@paravelsystems.com>
* Fixed style inconsistencies in dialogs within rdcatch(1). * Fixed style inconsistencies in dialogs within rdcatch(1).
2018-08-15 Fred Gleason <fredg@paravelsystems.com>
* Fixed text rendering errors in the 'Edit Event' dialog in
rdlogmanager(1).

View File

@@ -109,14 +109,13 @@ EditEvent::EditEvent(QString eventname,bool new_event,
// //
// Type Filter // Type Filter
// //
event_lib_type_group=new Q3ButtonGroup(this); event_lib_type_group=new QButtonGroup(this);
event_lib_type_group->setExclusive(true); connect(event_lib_type_group,SIGNAL(buttonClicked(int)),
event_lib_type_group->hide(); this,SLOT(filterClickedData(int)));
connect(event_lib_type_group,SIGNAL(clicked(int)),this,SLOT(filterClickedData(int)));
QRadioButton *rbutton=new QRadioButton(this); QRadioButton *rbutton=new QRadioButton(this);
rbutton->setGeometry(55,55,15,15); rbutton->setGeometry(55,55,15,15);
event_lib_type_group->insert(rbutton); event_lib_type_group->addButton(rbutton,0);
label=new QLabel(rbutton,tr("All"),this); label=new QLabel(rbutton,tr("All"),this);
label->setFont(bold_font); label->setFont(bold_font);
label->setGeometry(75,55,30,15); label->setGeometry(75,55,30,15);
@@ -125,7 +124,7 @@ EditEvent::EditEvent(QString eventname,bool new_event,
rbutton=new QRadioButton(this); rbutton=new QRadioButton(this);
rbutton->setGeometry(125,55,15,15); rbutton->setGeometry(125,55,15,15);
event_lib_type_group->insert(rbutton); event_lib_type_group->addButton(rbutton,1);
label=new QLabel(rbutton,tr("Audio Only"),this); label=new QLabel(rbutton,tr("Audio Only"),this);
label->setFont(bold_font); label->setFont(bold_font);
label->setGeometry(145,55,80,15); label->setGeometry(145,55,80,15);
@@ -133,7 +132,7 @@ EditEvent::EditEvent(QString eventname,bool new_event,
rbutton=new QRadioButton(this); rbutton=new QRadioButton(this);
rbutton->setGeometry(235,55,15,15); rbutton->setGeometry(235,55,15,15);
event_lib_type_group->insert(rbutton); event_lib_type_group->addButton(rbutton,2);
label=new QLabel(rbutton,tr("Macros Only"),this); label=new QLabel(rbutton,tr("Macros Only"),this);
label->setFont(bold_font); label->setFont(bold_font);
label->setGeometry(255,55,80,15); label->setGeometry(255,55,80,15);
@@ -275,37 +274,31 @@ EditEvent::EditEvent(QString eventname,bool new_event,
// //
// Grace Time // Grace Time
// //
event_grace_group= event_grace_groupbox=
new Q3ButtonGroup(1,Qt::Vertical, new QGroupBox(tr("Action If Previous Event Still Playing"),this);
tr("Action If Previous Event Still Playing"),this); event_grace_groupbox->setFont(bold_font);
event_grace_group->hide(); event_grace_groupbox->
setGeometry(CENTER_LINE+160,77,sizeHint().width()-CENTER_LINE-200,45);
event_grace_group->setFont(bold_font); event_grace_group=new QButtonGroup(this);
event_grace_group->setRadioButtonExclusive(true);
event_grace_label=
new QLabel(tr("Action If Previous Event Still Playing"),this);
event_grace_label->setGeometry(CENTER_LINE+180,75,225,16);
event_grace_label->setFont(bold_font);
event_grace_label->setAlignment(Qt::AlignCenter);
event_immediate_button=new QRadioButton(tr("Start immediately"),this); event_immediate_button=new QRadioButton(tr("Start immediately"),this);
event_immediate_button->setGeometry(CENTER_LINE+170,100,160,15); event_immediate_button->setGeometry(CENTER_LINE+170,100,160,15);
event_immediate_button->setFont(font); event_immediate_button->setFont(font);
event_grace_group->insert(event_immediate_button); event_grace_group->addButton(event_immediate_button,0);
event_next_button=new QRadioButton(tr("Make next"),this); event_next_button=new QRadioButton(tr("Make next"),this);
event_next_button->setGeometry(CENTER_LINE+310,100,160,15); event_next_button->setGeometry(CENTER_LINE+310,100,160,15);
event_next_button->setFont(font); event_next_button->setFont(font);
event_grace_group->insert(event_next_button); event_grace_group->addButton(event_next_button,1);
event_wait_button=new QRadioButton(tr("Wait up to"),this); event_wait_button=new QRadioButton(tr("Wait up to"),this);
event_wait_button->setGeometry(CENTER_LINE+420,100,160,15); event_wait_button->setGeometry(CENTER_LINE+420,100,160,15);
event_wait_button->setFont(font); event_wait_button->setFont(font);
event_grace_group->insert(event_wait_button); event_grace_group->addButton(event_wait_button,2);
event_grace_edit=new Q3TimeEdit(this); event_grace_edit=new Q3TimeEdit(this);
event_grace_edit->setGeometry(CENTER_LINE+500,95,60,20); event_grace_edit->setGeometry(CENTER_LINE+500,95,60,20);
event_grace_edit->setDisplay(Q3TimeEdit::Minutes|Q3TimeEdit::Seconds); event_grace_edit->setDisplay(Q3TimeEdit::Minutes|Q3TimeEdit::Seconds);
connect(event_timetype_box,SIGNAL(toggled(bool)), connect(event_timetype_box,SIGNAL(toggled(bool)),
this,SLOT(timeToggledData(bool))); this,SLOT(timeToggledData(bool)));
connect(event_grace_group,SIGNAL(clicked(int)), connect(event_grace_group,SIGNAL(buttonClicked(int)),
this,SLOT(graceClickedData(int))); this,SLOT(graceClickedData(int)));
// //
@@ -316,7 +309,6 @@ EditEvent::EditEvent(QString eventname,bool new_event,
event_transtype_box->insertItem(tr("Play")); event_transtype_box->insertItem(tr("Play"));
event_transtype_box->insertItem(tr("Segue")); event_transtype_box->insertItem(tr("Segue"));
event_transtype_box->insertItem(tr("Stop")); event_transtype_box->insertItem(tr("Stop"));
// event_transtype_box->setCurrentItem(2);
connect(event_transtype_box,SIGNAL(activated(int)), connect(event_transtype_box,SIGNAL(activated(int)),
this,SLOT(timeTransitionData(int))); this,SLOT(timeTransitionData(int)));
event_time_label= event_time_label=
@@ -426,12 +418,12 @@ EditEvent::EditEvent(QString eventname,bool new_event,
label->setFont(bold_font); label->setFont(bold_font);
label->setGeometry(CENTER_LINE+15,362,200,16); label->setGeometry(CENTER_LINE+15,362,200,16);
event_source_group=new Q3ButtonGroup(this); event_source_group=new QButtonGroup(this);
event_source_group->hide(); // event_source_group->hide();
connect(event_source_group,SIGNAL(clicked(int)), connect(event_source_group,SIGNAL(buttonClicked(int)),
this,SLOT(importClickedData(int))); this,SLOT(importClickedData(int)));
rbutton=new QRadioButton(this); rbutton=new QRadioButton(this);
event_source_group->insert(rbutton); event_source_group->addButton(rbutton,0);
rbutton->setGeometry(CENTER_LINE+100,362,15,15); rbutton->setGeometry(CENTER_LINE+100,362,15,15);
label=new QLabel(rbutton,tr("None"),this); label=new QLabel(rbutton,tr("None"),this);
label->setFont(bold_font); label->setFont(bold_font);
@@ -439,7 +431,7 @@ EditEvent::EditEvent(QString eventname,bool new_event,
label->setAlignment(Qt::AlignVCenter|Qt::AlignLeft); label->setAlignment(Qt::AlignVCenter|Qt::AlignLeft);
rbutton=new QRadioButton(this); rbutton=new QRadioButton(this);
event_source_group->insert(rbutton); event_source_group->addButton(rbutton,1);
rbutton->setGeometry(CENTER_LINE+200,362,15,15); rbutton->setGeometry(CENTER_LINE+200,362,15,15);
label=new QLabel(rbutton,tr("From Traffic"),this); label=new QLabel(rbutton,tr("From Traffic"),this);
label->setFont(bold_font); label->setFont(bold_font);
@@ -448,7 +440,7 @@ EditEvent::EditEvent(QString eventname,bool new_event,
rbutton=new QRadioButton(this); rbutton=new QRadioButton(this);
rbutton->setGeometry(CENTER_LINE+300,362,15,15); rbutton->setGeometry(CENTER_LINE+300,362,15,15);
event_source_group->insert(rbutton); event_source_group->addButton(rbutton,2);
label=new QLabel(rbutton,tr("From Music"),this); label=new QLabel(rbutton,tr("From Music"),this);
label->setFont(bold_font); label->setFont(bold_font);
label->setGeometry(CENTER_LINE+320,362,150,15); label->setGeometry(CENTER_LINE+320,362,150,15);
@@ -456,7 +448,7 @@ EditEvent::EditEvent(QString eventname,bool new_event,
rbutton=new QRadioButton(this); rbutton=new QRadioButton(this);
rbutton->setGeometry(CENTER_LINE+400,362,15,15); rbutton->setGeometry(CENTER_LINE+400,362,15,15);
event_source_group->insert(rbutton); event_source_group->addButton(rbutton,3);
label=new QLabel(rbutton,tr("Select from:"),this); label=new QLabel(rbutton,tr("Select from:"),this);
label->setFont(bold_font); label->setFont(bold_font);
label->setGeometry(CENTER_LINE+420,362,150,15); label->setGeometry(CENTER_LINE+420,362,150,15);
@@ -729,7 +721,7 @@ EditEvent::EditEvent(QString eventname,bool new_event,
switch(event_event->timeType()) { switch(event_event->timeType()) {
case RDLogLine::Relative: case RDLogLine::Relative:
event_timetype_box->setChecked(false); event_timetype_box->setChecked(false);
event_grace_group->setButton(0); event_grace_group->button(0)->setChecked(true);
timeToggledData(false); timeToggledData(false);
break; break;
@@ -739,17 +731,17 @@ EditEvent::EditEvent(QString eventname,bool new_event,
event_transtype_box->setCurrentItem(event_event->firstTransType()); event_transtype_box->setCurrentItem(event_event->firstTransType());
switch((grace=event_event->graceTime())) { switch((grace=event_event->graceTime())) {
case 0: case 0:
event_grace_group->setButton(0); event_grace_group->button(0)->setChecked(true);
event_grace_edit->setTime(QTime()); event_grace_edit->setTime(QTime());
break; break;
case -1: case -1:
event_grace_group->setButton(1); event_grace_group->button(1)->setChecked(true);
event_grace_edit->setTime(QTime()); event_grace_edit->setTime(QTime());
break; break;
default: default:
event_grace_group->setButton(2); event_grace_group->button(2)->setChecked(true);
event_grace_edit->setTime(QTime().addMSecs(grace)); event_grace_edit->setTime(QTime().addMSecs(grace));
break; break;
} }
@@ -766,8 +758,7 @@ EditEvent::EditEvent(QString eventname,bool new_event,
} }
autofillWarnToggledData(event_autofill_slop_box->isChecked()); autofillWarnToggledData(event_autofill_slop_box->isChecked());
event_timescale_box->setChecked(event_event->useTimescale()); event_timescale_box->setChecked(event_event->useTimescale());
event_source_group->button(event_event->importSource())->setChecked(true);
event_source_group->setButton(event_event->importSource());
event_startslop_edit->setTime(QTime().addMSecs(event_event->startSlop())); event_startslop_edit->setTime(QTime().addMSecs(event_event->startSlop()));
event_endslop_edit->setTime(QTime().addMSecs(event_event->endSlop())); event_endslop_edit->setTime(QTime().addMSecs(event_event->endSlop()));
event_firsttrans_box->setCurrentItem(event_event->firstTransType()); event_firsttrans_box->setCurrentItem(event_event->firstTransType());
@@ -804,7 +795,7 @@ EditEvent::EditEvent(QString eventname,bool new_event,
prepositionToggledData(event_position_box->isChecked()); prepositionToggledData(event_position_box->isChecked());
timeToggledData(event_timetype_box->isChecked()); timeToggledData(event_timetype_box->isChecked());
importClickedData(event_source_group->selectedId()); importClickedData(event_source_group->checkedId());
preimportChangedData(event_preimport_list->childCount()); preimportChangedData(event_preimport_list->childCount());
SetPostTransition(); SetPostTransition();
} }
@@ -869,12 +860,12 @@ void EditEvent::prepositionToggledData(bool state)
event_timetype_label->setDisabled(state); event_timetype_label->setDisabled(state);
event_preimport_list->setAllowFirstTrans(!state); event_preimport_list->setAllowFirstTrans(!state);
if(event_timetype_box->isChecked()) { if(event_timetype_box->isChecked()) {
event_grace_label->setDisabled(state); event_grace_groupbox->setDisabled(state);
event_immediate_button->setDisabled(state); event_immediate_button->setDisabled(state);
event_next_button->setDisabled(state); event_next_button->setDisabled(state);
event_wait_button->setDisabled(state); event_wait_button->setDisabled(state);
} }
if((RDEventLine::ImportSource)event_source_group->selectedId()!= if((RDEventLine::ImportSource)event_source_group->checkedId()!=
RDEventLine::None) { RDEventLine::None) {
if(event_preimport_list->childCount()==0) { if(event_preimport_list->childCount()==0) {
event_firsttrans_box->setDisabled(state); event_firsttrans_box->setDisabled(state);
@@ -902,14 +893,13 @@ void EditEvent::prepositionToggledData(bool state)
void EditEvent::timeToggledData(bool state) void EditEvent::timeToggledData(bool state)
{ {
event_grace_group->setEnabled(state); event_grace_groupbox->setEnabled(state);
event_grace_label->setEnabled(state);
event_immediate_button->setEnabled(state); event_immediate_button->setEnabled(state);
event_next_button->setEnabled(state); event_next_button->setEnabled(state);
event_wait_button->setEnabled(state); event_wait_button->setEnabled(state);
event_grace_edit->setEnabled(state); event_grace_edit->setEnabled(state);
event_post_label->setEnabled(state&&(event_grace_group->selectedId()==0)); event_post_label->setEnabled(state&&(event_grace_group->checkedId()==0));
event_post_box->setEnabled(state&&(event_grace_group->selectedId()==0)); event_post_box->setEnabled(state&&(event_grace_group->checkedId()==0));
event_preimport_list->setAllowFirstTrans(!state); event_preimport_list->setAllowFirstTrans(!state);
if(state) { if(state) {
event_preimport_list-> event_preimport_list->
@@ -925,7 +915,7 @@ void EditEvent::timeToggledData(bool state)
} }
event_preimport_list->refreshList(); event_preimport_list->refreshList();
if(state) { if(state) {
graceClickedData(event_grace_group->selectedId()); graceClickedData(event_grace_group->checkedId());
event_time_label->setEnabled(true); event_time_label->setEnabled(true);
event_transtype_box->setEnabled(true); event_transtype_box->setEnabled(true);
timeTransitionData(2); timeTransitionData(2);
@@ -950,7 +940,7 @@ void EditEvent::timeToggledData(bool state)
event_position_header->setEnabled(true); event_position_header->setEnabled(true);
event_position_label->setEnabled(true); event_position_label->setEnabled(true);
event_position_unit->setEnabled(true); event_position_unit->setEnabled(true);
if(((RDEventLine::ImportSource)event_source_group->selectedId()!= if(((RDEventLine::ImportSource)event_source_group->checkedId()!=
RDEventLine::None)&&(!event_position_box->isChecked())&& RDEventLine::None)&&(!event_position_box->isChecked())&&
(event_preimport_list->childCount()==0)) { (event_preimport_list->childCount()==0)) {
event_firsttrans_box->setEnabled(true); event_firsttrans_box->setEnabled(true);
@@ -965,26 +955,26 @@ void EditEvent::timeToggledData(bool state)
void EditEvent::graceClickedData(int id) void EditEvent::graceClickedData(int id)
{ {
switch(id) { switch(id) {
case 0: case 0:
event_post_label->setEnabled(event_timetype_box->isChecked()); event_post_label->setEnabled(event_timetype_box->isChecked());
event_post_box->setEnabled(event_timetype_box->isChecked()); event_post_box->setEnabled(event_timetype_box->isChecked());
timeTransitionData(RDLogLine::Stop); timeTransitionData(RDLogLine::Stop);
event_grace_edit->setDisabled(true); event_grace_edit->setDisabled(true);
break; break;
case 1: case 1:
event_post_label->setDisabled(true); event_post_label->setDisabled(true);
event_post_box->setDisabled(true); event_post_box->setDisabled(true);
timeTransitionData(RDLogLine::Segue); timeTransitionData(RDLogLine::Segue);
event_grace_edit->setDisabled(true); event_grace_edit->setDisabled(true);
break; break;
case 2: case 2:
event_post_label->setDisabled(true); event_post_label->setDisabled(true);
event_post_box->setDisabled(true); event_post_box->setDisabled(true);
timeTransitionData(RDLogLine::Segue); timeTransitionData(RDLogLine::Segue);
event_grace_edit->setEnabled(true); event_grace_edit->setEnabled(true);
break; break;
} }
SetPostTransition(); SetPostTransition();
} }
@@ -1057,7 +1047,7 @@ void EditEvent::importClickedData(int id)
void EditEvent::preimportChangedData(int size) void EditEvent::preimportChangedData(int size)
{ {
if((size==0)&&(event_source_group->selectedId()!=0)&& if((size==0)&&(event_source_group->checkedId()!=0)&&
(!event_position_box->isChecked())&&(!event_timetype_box->isChecked())) { (!event_position_box->isChecked())&&(!event_timetype_box->isChecked())) {
event_firsttrans_box->setEnabled(true); event_firsttrans_box->setEnabled(true);
event_firsttrans_label->setEnabled(true); event_firsttrans_label->setEnabled(true);
@@ -1270,7 +1260,6 @@ void EditEvent::paintEvent(QPaintEvent *e)
QPainter *p=new QPainter(this); QPainter *p=new QPainter(this);
p->setPen(Qt::black); p->setPen(Qt::black);
p->drawLine(CENTER_LINE,10,CENTER_LINE,sizeHint().height()-10); p->drawLine(CENTER_LINE,10,CENTER_LINE,sizeHint().height()-10);
p->drawRect(CENTER_LINE+160,82,sizeHint().width()-CENTER_LINE-200,45);
p->drawLine(CENTER_LINE+408,383,CENTER_LINE+408,450); p->drawLine(CENTER_LINE+408,383,CENTER_LINE+408,450);
p->end(); p->end();
} }
@@ -1280,18 +1269,18 @@ void EditEvent::RefreshLibrary()
{ {
QString type_filter; QString type_filter;
switch(event_lib_type_group->selectedId()) { switch(event_lib_type_group->checkedId()) {
case 0: case 0:
type_filter="((TYPE=1)||(TYPE=2)||(TYPE=3))"; type_filter="((TYPE=1)||(TYPE=2)||(TYPE=3))";
break; break;
case 1: case 1:
type_filter="((TYPE=1)||(TYPE=3))"; type_filter="((TYPE=1)||(TYPE=3))";
break; break;
case 2: case 2:
type_filter="(TYPE=2)"; type_filter="(TYPE=2)";
break; break;
} }
QString sql=QString("select ")+ QString sql=QString("select ")+
"TYPE,"+ // 00 "TYPE,"+ // 00
@@ -1353,7 +1342,7 @@ void EditEvent::SetPostTransition()
if((event_position_box->isChecked())|| if((event_position_box->isChecked())||
(event_timetype_box->isChecked())|| (event_timetype_box->isChecked())||
(event_preimport_list->childCount()!=0)|| (event_preimport_list->childCount()!=0)||
(event_source_group->selectedId()!=0)) { (event_source_group->checkedId()!=0)) {
event_postimport_list->setAllowStop(false); event_postimport_list->setAllowStop(false);
} }
else { else {
@@ -1401,7 +1390,7 @@ void EditEvent::Save()
event_event->setPostPoint(event_post_box->isChecked()); event_event->setPostPoint(event_post_box->isChecked());
event_event->setFirstTransType((RDLogLine::TransType) event_event->setFirstTransType((RDLogLine::TransType)
event_transtype_box->currentItem()); event_transtype_box->currentItem());
switch(event_grace_group->selectedId()) { switch(event_grace_group->checkedId()) {
case 0: case 0:
event_event->setGraceTime(0); event_event->setGraceTime(0);
break; break;
@@ -1432,7 +1421,7 @@ void EditEvent::Save()
} }
event_event->setUseTimescale(event_timescale_box->isChecked()); event_event->setUseTimescale(event_timescale_box->isChecked());
event_event-> event_event->
setImportSource((RDEventLine::ImportSource)event_source_group->selectedId()); setImportSource((RDEventLine::ImportSource)event_source_group->checkedId());
event_event->setStartSlop(QTime().msecsTo(event_startslop_edit->time())); event_event->setStartSlop(QTime().msecsTo(event_startslop_edit->time()));
event_event->setEndSlop(QTime().msecsTo(event_endslop_edit->time())); event_event->setEndSlop(QTime().msecsTo(event_endslop_edit->time()));
if(!event_timetype_box->isChecked()) { if(!event_timetype_box->isChecked()) {
@@ -1522,7 +1511,7 @@ QString EditEvent::GetProperties()
} }
if(event_timetype_box->isChecked()) { if(event_timetype_box->isChecked()) {
switch(event_grace_group->selectedId()) { switch(event_grace_group->checkedId()) {
case 0: case 0:
properties+=tr(", Timed(Start)"); properties+=tr(", Timed(Start)");
break; break;
@@ -1546,7 +1535,7 @@ QString EditEvent::GetProperties()
if(event_timescale_box->isChecked()) { if(event_timescale_box->isChecked()) {
properties+=tr(", Scale"); properties+=tr(", Scale");
} }
switch((RDEventLine::ImportSource)event_source_group->selectedId()) { switch((RDEventLine::ImportSource)event_source_group->checkedId()) {
case RDEventLine::Traffic: case RDEventLine::Traffic:
properties+=tr(", Traffic"); properties+=tr(", Traffic");
break; break;

View File

@@ -24,7 +24,7 @@
#include <vector> #include <vector>
#include <qdialog.h> #include <qdialog.h>
#include <qsqldatabase.h> #include <qgroupbox.h>
#include <qlabel.h> #include <qlabel.h>
#include <qpushbutton.h> #include <qpushbutton.h>
#include <qradiobutton.h> #include <qradiobutton.h>
@@ -33,7 +33,7 @@
#include <q3datetimeedit.h> #include <q3datetimeedit.h>
#include <qspinbox.h> #include <qspinbox.h>
#include <qcombobox.h> #include <qcombobox.h>
#include <q3buttongroup.h> #include <qbuttongroup.h>
#include <q3textedit.h> #include <q3textedit.h>
#include <rdemptycart.h> #include <rdemptycart.h>
@@ -100,7 +100,7 @@ class EditEvent : public QDialog
QString event_name; QString event_name;
RDEvent *event_event; RDEvent *event_event;
QLineEdit *event_lib_filter_edit; QLineEdit *event_lib_filter_edit;
Q3ButtonGroup *event_lib_type_group; QButtonGroup *event_lib_type_group;
QComboBox *event_group_box; QComboBox *event_group_box;
QComboBox *event_sched_group_box; QComboBox *event_sched_group_box;
QSpinBox* event_title_sep_spinbox; QSpinBox* event_title_sep_spinbox;
@@ -123,8 +123,8 @@ class EditEvent : public QDialog
QCheckBox *event_post_box; QCheckBox *event_post_box;
QLabel *event_post_label; QLabel *event_post_label;
QLabel *event_time_label; QLabel *event_time_label;
QLabel *event_grace_label; QButtonGroup *event_grace_group;
Q3ButtonGroup *event_grace_group; QGroupBox *event_grace_groupbox;
QRadioButton *event_immediate_button; QRadioButton *event_immediate_button;
QRadioButton *event_next_button; QRadioButton *event_next_button;
QRadioButton *event_wait_button; QRadioButton *event_wait_button;
@@ -140,7 +140,7 @@ class EditEvent : public QDialog
QLineEdit *event_preimport_length_edit; QLineEdit *event_preimport_length_edit;
RDTransportButton *event_preimport_up_button; RDTransportButton *event_preimport_up_button;
RDTransportButton *event_preimport_down_button; RDTransportButton *event_preimport_down_button;
Q3ButtonGroup *event_source_group; QButtonGroup *event_source_group;
Q3TimeEdit *event_startslop_edit; Q3TimeEdit *event_startslop_edit;
QLabel *event_startslop_label; QLabel *event_startslop_label;
QLabel *event_startslop_unit; QLabel *event_startslop_unit;