comparison widgets/PropertyBox.cpp @ 280:3c402c6052f6

* Pull peak-picker out of SpectrumLayer and into FFTModel; use combined peak-picker and frequency estimator for SpectrogramLayer (makes the peak frequency spectrogram a bit quicker) * Add more information to spectrum and spectrogram crosshairs
author Chris Cannam
date Wed, 04 Jul 2007 15:29:16 +0000
parents e6d0b097d102
children 9dd432665059
comparison
equal deleted inserted replaced
279:47fe0352861e 280:3c402c6052f6
427 cb->addItem(units[i]); 427 cb->addItem(units[i]);
428 } 428 }
429 cb->setEditable(true); 429 cb->setEditable(true);
430 } 430 }
431 cb->blockSignals(false); 431 cb->blockSignals(false);
432 if (cb->count() < 20 && cb->count() > cb->maxVisibleItems()) {
433 cb->setMaxVisibleItems(cb->count());
434 }
432 } 435 }
433 436
434 if (!have) { 437 if (!have) {
435 connect(cb, SIGNAL(activated(int)), 438 connect(cb, SIGNAL(activated(int)),
436 this, SLOT(propertyControllerChanged(int))); 439 this, SLOT(propertyControllerChanged(int)));