Mercurial > hg > svgui
comparison widgets/PropertyBox.cpp @ 193:57c2350a8c40
* Add slice layers (so you can display a slice of a colour 3d plot as if it were
a spectrum)
* Make spectrum layer a subclass of slice layer
author | Chris Cannam |
---|---|
date | Fri, 26 Jan 2007 16:59:57 +0000 |
parents | 53835534a9d3 |
children | 6b023411087b |
comparison
equal
deleted
inserted
replaced
192:fcc043f75c41 | 193:57c2350a8c40 |
---|---|
116 | 116 |
117 if (!m_container) return; | 117 if (!m_container) return; |
118 | 118 |
119 Layer *layer = dynamic_cast<Layer *>(m_container); | 119 Layer *layer = dynamic_cast<Layer *>(m_container); |
120 if (layer) { | 120 if (layer) { |
121 disconnect(layer, SIGNAL(modelReplaced()), | |
122 this, SLOT(populateViewPlayFrame())); | |
121 connect(layer, SIGNAL(modelReplaced()), | 123 connect(layer, SIGNAL(modelReplaced()), |
122 this, SLOT(populateViewPlayFrame())); | 124 this, SLOT(populateViewPlayFrame())); |
123 } | 125 } |
124 | 126 |
125 PlayParameters *params = m_container->getPlayParameters(); | 127 PlayParameters *params = m_container->getPlayParameters(); |