moved zoom controls to context menu
This commit is contained in:
@@ -65,7 +65,6 @@ Viewer::Viewer(QWidget *parent) :
|
||||
connect(&recording_flasher, SIGNAL(timeout()), this, SLOT(recording_flasher_update()));
|
||||
connect(ui->horizontalScrollBar, SIGNAL(valueChanged(int)), ui->headers, SLOT(set_scroll(int)));
|
||||
connect(ui->horizontalScrollBar, SIGNAL(valueChanged(int)), viewer_widget, SLOT(set_waveform_scroll(int)));
|
||||
connect(ui->zoomComboBox, SIGNAL(currentIndexChanged(int)), this, SLOT(zoom_update(int)));
|
||||
|
||||
update_playhead_timecode(0);
|
||||
update_end_timecode();
|
||||
@@ -560,18 +559,6 @@ void Viewer::recording_flasher_update() {
|
||||
}
|
||||
}
|
||||
|
||||
void Viewer::zoom_update(int i) {
|
||||
if (i == 0) {
|
||||
ui->glViewerPane->fit = true;
|
||||
} else {
|
||||
ui->glViewerPane->fit = false;
|
||||
QString pc = ui->zoomComboBox->itemText(i);
|
||||
pc = pc.left(pc.length() - 1);
|
||||
ui->glViewerPane->zoom = pc.toDouble()*0.01;
|
||||
}
|
||||
ui->glViewerPane->adjust();
|
||||
}
|
||||
|
||||
void Viewer::clean_created_seq() {
|
||||
viewer_widget->waveform = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user