Mercurial > hg > svgui
comparison layer/SpectrumLayer.cpp @ 195:4a3bdde1ef13
* beginnings of spectrum scales
author | Chris Cannam |
---|---|
date | Mon, 29 Jan 2007 18:11:20 +0000 |
parents | 57c2350a8c40 |
children | 45e995ed84d9 |
comparison
equal
deleted
inserted
replaced
194:d13e209bfa94 | 195:4a3bdde1ef13 |
---|---|
3 | 3 |
4 /* | 4 /* |
5 Sonic Visualiser | 5 Sonic Visualiser |
6 An audio file viewer and annotation editor. | 6 An audio file viewer and annotation editor. |
7 Centre for Digital Music, Queen Mary, University of London. | 7 Centre for Digital Music, Queen Mary, University of London. |
8 This file copyright 2006 QMUL. | 8 This file copyright 2006-2007 QMUL. |
9 | 9 |
10 This program is free software; you can redistribute it and/or | 10 This program is free software; you can redistribute it and/or |
11 modify it under the terms of the GNU General Public License as | 11 modify it under the terms of the GNU General Public License as |
12 published by the Free Software Foundation; either version 2 of the | 12 published by the Free Software Foundation; either version 2 of the |
13 License, or (at your option) any later version. See the file | 13 License, or (at your option) any later version. See the file |
32 { | 32 { |
33 Preferences *prefs = Preferences::getInstance(); | 33 Preferences *prefs = Preferences::getInstance(); |
34 connect(prefs, SIGNAL(propertyChanged(PropertyContainer::PropertyName)), | 34 connect(prefs, SIGNAL(propertyChanged(PropertyContainer::PropertyName)), |
35 this, SLOT(preferenceChanged(PropertyContainer::PropertyName))); | 35 this, SLOT(preferenceChanged(PropertyContainer::PropertyName))); |
36 setWindowType(prefs->getWindowType()); | 36 setWindowType(prefs->getWindowType()); |
37 | |
38 setBinScale(LogBins); | |
37 } | 39 } |
38 | 40 |
39 SpectrumLayer::~SpectrumLayer() | 41 SpectrumLayer::~SpectrumLayer() |
40 { | 42 { |
41 //!!! delete parent's model | 43 //!!! delete parent's model |