Logo Search packages:      
Sourcecode: ecawave version File versions  Download package

void QEFileView::mark_all ( void   )  [slot]

Mark the whole file

ensure: is_marked() == true

Definition at line 294 of file qefile.cpp.

References marked_area_changed().

{
  for(int n = 0; n < static_cast<int>(waveforms.size()); n++) {
    waveforms[n]->toggle_marking(true);
    waveforms[n]->marked_area_begin(0);
    waveforms[n]->marked_area_end(samples_to_blocks(length_rep));
    waveforms[n]->repaint(false);
  }
  emit marked_area_changed(ECA_AUDIO_TIME(0, sample_rate_rep), 
                     ECA_AUDIO_TIME(length_rep, sample_rate_rep));
}


Generated by  Doxygen 1.6.0   Back to index