Mercurial > hg > svcore
diff base/Preferences.cpp @ 141:4f26f623a8bc
* Finish preferences dialog (as far as it's going at the moment) and connect it up
* Fix Parzen window shape (was triangular!)
* Various fixes to spectrogram draw coordinates in smoothing mode etc
* Draw C keys in grey on the piano
author | Chris Cannam |
---|---|
date | Fri, 21 Jul 2006 16:03:42 +0000 |
parents | a35098a9c814 |
children | 0ba66b160a02 |
line wrap: on
line diff
--- a/base/Preferences.cpp Thu Jul 20 16:51:20 2006 +0000 +++ b/base/Preferences.cpp Fri Jul 21 16:03:42 2006 +0000 @@ -41,16 +41,16 @@ Preferences::getPropertyLabel(const PropertyName &name) const { if (name == "Smooth Spectrogram") { - return tr("Spectrogram Display Smoothing"); + return tr("Smooth spectrogram display by zero padding FFT"); } if (name == "Tuning Frequency") { - return tr("Tuning Frequency (concert A)"); + return tr("Frequency of concert A"); } if (name == "Property Box Layout") { - return tr("Arrangement of Layer Properties"); + return tr("Property box layout"); } if (name == "Window Type") { - return tr("Spectral Analysis Window Shape"); + return tr("Spectral analysis window shape"); } return name; } @@ -105,13 +105,13 @@ int value) const { if (name == "Property Box Layout") { - if (value == 0) return tr("Vertically Stacked"); - else return tr("Layered"); + if (value == 0) return tr("Show boxes for all panes"); + else return tr("Show box for current pane only"); } if (name == "Window Type") { switch (WindowType(value)) { case RectangularWindow: return tr("Rectangular"); - case BartlettWindow: return tr("Bartlett"); + case BartlettWindow: return tr("Triangular"); case HammingWindow: return tr("Hamming"); case HanningWindow: return tr("Hanning"); case BlackmanWindow: return tr("Blackman"); @@ -153,7 +153,7 @@ { if (m_smoothSpectrogram != smooth) { m_smoothSpectrogram = smooth; -//!!! emit + emit propertyChanged("Smooth Spectrogram"); } } @@ -162,7 +162,7 @@ { if (m_tuningFrequency != freq) { m_tuningFrequency = freq; - //!!! emit + emit propertyChanged("Tuning Frequency"); } } @@ -171,7 +171,7 @@ { if (m_propertyBoxLayout != layout) { m_propertyBoxLayout = layout; - //!!! emit + emit propertyChanged("Property Box Layout"); } } @@ -180,7 +180,7 @@ { if (m_windowType != type) { m_windowType = type; - //!!! emit + emit propertyChanged("Window Type"); } }