mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-18 00:21:21 +02:00
2021-03-21 Fred Gleason <fredg@paravelsystems.com>
* Modified the marker readouts to show a yellow background when the parent markers have been selected. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -320,33 +320,40 @@ void RDMarkerDialog::resizeEvent(QResizeEvent *e)
|
||||
//
|
||||
// Readout Section
|
||||
//
|
||||
d_cut_readout->setGeometry(10,30+RDMARKERDIALOG_WAVEFORM_HEIGHT+94,
|
||||
d_cut_readout->setGeometry(2,
|
||||
2+d_marker_view->sizeHint().height(),
|
||||
//30+RDMARKERDIALOG_WAVEFORM_HEIGHT+94,
|
||||
d_cut_readout->sizeHint().width(),
|
||||
d_cut_readout->sizeHint().height());
|
||||
|
||||
d_talk_readout->setGeometry(10+1*(d_talk_readout->sizeHint().width()-2),
|
||||
30+RDMARKERDIALOG_WAVEFORM_HEIGHT+94,
|
||||
d_talk_readout->setGeometry(2+1*(d_talk_readout->sizeHint().width()-2),
|
||||
2+d_marker_view->sizeHint().height(),
|
||||
//30+RDMARKERDIALOG_WAVEFORM_HEIGHT+94,
|
||||
d_talk_readout->sizeHint().width(),
|
||||
d_talk_readout->sizeHint().height());
|
||||
|
||||
d_segue_readout->setGeometry(10+2*(d_segue_readout->sizeHint().width()-2),
|
||||
30+RDMARKERDIALOG_WAVEFORM_HEIGHT+94,
|
||||
d_segue_readout->setGeometry(2+2*(d_segue_readout->sizeHint().width()-2),
|
||||
2+d_marker_view->sizeHint().height(),
|
||||
//30+RDMARKERDIALOG_WAVEFORM_HEIGHT+94,
|
||||
d_segue_readout->sizeHint().width(),
|
||||
d_segue_readout->sizeHint().height());
|
||||
|
||||
d_hook_readout->setGeometry(10+3*(d_hook_readout->sizeHint().width()-2),
|
||||
30+RDMARKERDIALOG_WAVEFORM_HEIGHT+94,
|
||||
d_hook_readout->setGeometry(2+3*(d_hook_readout->sizeHint().width()-2),
|
||||
2+d_marker_view->sizeHint().height(),
|
||||
//30+RDMARKERDIALOG_WAVEFORM_HEIGHT+94,
|
||||
d_hook_readout->sizeHint().width(),
|
||||
d_hook_readout->sizeHint().height());
|
||||
|
||||
d_fadeup_readout->setGeometry(10,
|
||||
30+RDMARKERDIALOG_WAVEFORM_HEIGHT+90+
|
||||
d_fadeup_readout->setGeometry(2,
|
||||
d_marker_view->sizeHint().height()-2+
|
||||
//30+RDMARKERDIALOG_WAVEFORM_HEIGHT+90+
|
||||
d_hook_readout->sizeHint().height(),
|
||||
2*d_fadeup_readout->sizeHint().width()-2,
|
||||
d_fadeup_readout->sizeHint().height());
|
||||
|
||||
d_fadedown_readout->setGeometry(6+2*d_fadedown_readout->sizeHint().width(),
|
||||
30+RDMARKERDIALOG_WAVEFORM_HEIGHT+90+
|
||||
d_fadedown_readout->setGeometry(2*d_fadedown_readout->sizeHint().width()-2,
|
||||
d_marker_view->sizeHint().height()-2+
|
||||
//30+RDMARKERDIALOG_WAVEFORM_HEIGHT+90+
|
||||
d_hook_readout->sizeHint().height(),
|
||||
2*d_fadedown_readout->sizeHint().width()-2,
|
||||
d_fadedown_readout->sizeHint().height());
|
||||
@@ -354,10 +361,16 @@ void RDMarkerDialog::resizeEvent(QResizeEvent *e)
|
||||
//
|
||||
// Transport Section
|
||||
//
|
||||
d_player->setGeometry(2*d_fadedown_readout->sizeHint().width()+
|
||||
2*d_fadedown_readout->sizeHint().width()-6,
|
||||
2+d_marker_view->sizeHint().height(),
|
||||
d_player->sizeHint().width(),
|
||||
d_player->sizeHint().height());
|
||||
/*
|
||||
d_player->setGeometry(2,2+d_marker_view->sizeHint().height(),
|
||||
d_player->sizeHint().width(),
|
||||
d_player->sizeHint().height());
|
||||
|
||||
*/
|
||||
d_ok_button->setGeometry(w-180,h-60,80,50);
|
||||
d_cancel_button->setGeometry(w-90,h-60,80,50);
|
||||
}
|
||||
|
Reference in New Issue
Block a user