comparison widgets/PropertyStack.cpp @ 197:6b023411087b

* Work on harmonising colour and scale ranges between types of layer * Add normalize options to colour 3d plot layer
author Chris Cannam
date Thu, 01 Feb 2007 14:31:28 +0000
parents 53835534a9d3
children 6969f21da18a
comparison
equal deleted inserted replaced
196:22c99c8aa1e0 197:6b023411087b
52 this, SLOT(propertyContainerRemoved(PropertyContainer *))); 52 this, SLOT(propertyContainerRemoved(PropertyContainer *)));
53 53
54 connect(m_client, SIGNAL(propertyContainerPropertyChanged(PropertyContainer *)), 54 connect(m_client, SIGNAL(propertyContainerPropertyChanged(PropertyContainer *)),
55 this, SLOT(propertyContainerPropertyChanged(PropertyContainer *))); 55 this, SLOT(propertyContainerPropertyChanged(PropertyContainer *)));
56 56
57 connect(m_client, SIGNAL(propertyContainerPropertyRangeChanged(PropertyContainer *)),
58 this, SLOT(propertyContainerPropertyRangeChanged(PropertyContainer *)));
59
57 connect(m_client, SIGNAL(propertyContainerNameChanged(PropertyContainer *)), 60 connect(m_client, SIGNAL(propertyContainerNameChanged(PropertyContainer *)),
58 this, SLOT(propertyContainerNameChanged(PropertyContainer *))); 61 this, SLOT(propertyContainerNameChanged(PropertyContainer *)));
59 62
60 connect(this, SIGNAL(propertyContainerSelected(View *, PropertyContainer *)), 63 connect(this, SIGNAL(propertyContainerSelected(View *, PropertyContainer *)),
61 m_client, SLOT(propertyContainerSelected(View *, PropertyContainer *))); 64 m_client, SLOT(propertyContainerSelected(View *, PropertyContainer *)));
150 PropertyStack::propertyContainerPropertyChanged(PropertyContainer *pc) 153 PropertyStack::propertyContainerPropertyChanged(PropertyContainer *pc)
151 { 154 {
152 for (unsigned int i = 0; i < m_boxes.size(); ++i) { 155 for (unsigned int i = 0; i < m_boxes.size(); ++i) {
153 if (pc == m_boxes[i]->getContainer()) { 156 if (pc == m_boxes[i]->getContainer()) {
154 m_boxes[i]->propertyContainerPropertyChanged(pc); 157 m_boxes[i]->propertyContainerPropertyChanged(pc);
158 }
159 }
160 }
161
162 void
163 PropertyStack::propertyContainerPropertyRangeChanged(PropertyContainer *pc)
164 {
165 for (unsigned int i = 0; i < m_boxes.size(); ++i) {
166 if (pc == m_boxes[i]->getContainer()) {
167 m_boxes[i]->propertyContainerPropertyRangeChanged(pc);
155 } 168 }
156 } 169 }
157 } 170 }
158 171
159 void 172 void