Mercurial > hg > svgui
diff widgets/UnitConverter.h @ 889:cd59f6e1aa26
hz -> freq, and some layout rearrangement
author | Chris Cannam |
---|---|
date | Tue, 09 Dec 2014 11:45:34 +0000 |
parents | 6778a82d6b76 |
children | 09b2940f483a |
line wrap: on
line diff
--- a/widgets/UnitConverter.h Mon Dec 08 15:37:49 2014 +0000 +++ b/widgets/UnitConverter.h Tue Dec 09 11:45:34 2014 +0000 @@ -30,22 +30,23 @@ virtual ~UnitConverter(); private slots: - void hzChanged(double); + void freqChanged(double); void midiChanged(int); void noteChanged(int); void octaveChanged(int); void centsChanged(double); void pianoChanged(int); + private: - QDoubleSpinBox *m_hz; + QDoubleSpinBox *m_freq; QSpinBox *m_midi; QComboBox *m_note; QSpinBox *m_octave; QDoubleSpinBox *m_cents; QSpinBox *m_piano; - void updateAllFromHz(); + void updatePitchesFromFreq(); }; #endif