Mercurial > hg > svgui
comparison widgets/Pane.cpp @ 49:2818ec5d1985
* Further MainWindow -> Document refactoring
author | Chris Cannam |
---|---|
date | Wed, 08 Mar 2006 12:38:28 +0000 |
parents | 97b0643bd799 |
children | 75cfbc6e709b |
comparison
equal
deleted
inserted
replaced
48:97b0643bd799 | 49:2818ec5d1985 |
---|---|
297 paint.setPen(QColor(200, 200, 200)); | 297 paint.setPen(QColor(200, 200, 200)); |
298 } | 298 } |
299 paint.drawText(x, y, text); | 299 paint.drawText(x, y, text); |
300 | 300 |
301 if (waveformModel) { | 301 if (waveformModel) { |
302 | |
303 // Show (R) for waveform models that will be resampled on | |
304 // playback. | |
305 | |
306 //!!! Inadequate for auxiliary waveform layers, which are | |
307 //played at the wrong rate if their rate differs from the | |
308 //main model. Need to discover and label with (X) or | |
309 //something. | |
302 | 310 |
303 QString desc = tr("%1 / %2Hz%3") | 311 QString desc = tr("%1 / %2Hz%3") |
304 .arg(RealTime::frame2RealTime(waveformModel->getEndFrame(), | 312 .arg(RealTime::frame2RealTime(waveformModel->getEndFrame(), |
305 sampleRate) | 313 sampleRate) |
306 .toText(false).c_str()) | 314 .toText(false).c_str()) |