mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-29 16:50:13 +01:00
2021-03-12 Fred Gleason <fredg@paravelsystems.com>
* Added a 'RDMarkerView' class. * Added a 'RDMarkerDialog' class. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -37,6 +37,7 @@ MainWidget::MainWidget(QWidget *parent)
|
||||
d_cut_number=-1;
|
||||
d_scene=NULL;
|
||||
bool track_mode_set=false;
|
||||
d_show_scale=false;
|
||||
|
||||
//
|
||||
// Open the database
|
||||
@@ -69,6 +70,10 @@ MainWidget::MainWidget(QWidget *parent)
|
||||
}
|
||||
rda->cmdSwitch()->setProcessed(i,true);
|
||||
}
|
||||
if(rda->cmdSwitch()->key(i)=="--show-scale") {
|
||||
d_show_scale=true;
|
||||
rda->cmdSwitch()->setProcessed(i,true);
|
||||
}
|
||||
if(rda->cmdSwitch()->key(i)=="--track-mode") {
|
||||
if(rda->cmdSwitch()->value(i)=="single") {
|
||||
d_track_mode=RDWaveFactory::SingleTrack;
|
||||
@@ -219,7 +224,7 @@ void MainWidget::resizeEvent(QResizeEvent *e)
|
||||
void MainWidget::UpdateWave()
|
||||
{
|
||||
QPixmap pix=d_factory->generate(200,d_shrink_factor_edit->text().toInt(),
|
||||
100*d_audio_gain_spin->value());
|
||||
100*d_audio_gain_spin->value(),d_show_scale);
|
||||
|
||||
if(d_scene!=NULL) {
|
||||
d_scene->deleteLater();
|
||||
|
||||
Reference in New Issue
Block a user