comparison widgets/PropertyBox.cpp @ 587:4806715f7a19

Seems to be a bad idea to use plain DEBUG symbol on OS/X (system wants it)
author Chris Cannam
date Tue, 14 Jun 2011 15:27:05 +0100
parents f4960f8ce798
children 3437e0fad7ae eaf4446a1bef
comparison
equal deleted inserted replaced
586:1ae54a29e59e 587:4806715f7a19
146 m_viewPlayFrame->setLayout(layout); 146 m_viewPlayFrame->setLayout(layout);
147 147
148 layout->setMargin(layout->margin() / 2); 148 layout->setMargin(layout->margin() / 2);
149 149
150 #ifdef DEBUG_PROPERTY_BOX 150 #ifdef DEBUG_PROPERTY_BOX
151 DEBUG << "PropertyBox::populateViewPlayFrame: container " << m_container << " (name " << m_container->getPropertyContainerName() << ") params " << params << endl; 151 SVDEBUG << "PropertyBox::populateViewPlayFrame: container " << m_container << " (name " << m_container->getPropertyContainerName() << ") params " << params << endl;
152 #endif 152 #endif
153 153
154 if (layer) { 154 if (layer) {
155 QLabel *showLabel = new QLabel(tr("Show")); 155 QLabel *showLabel = new QLabel(tr("Show"));
156 layout->addWidget(showLabel); 156 layout->addWidget(showLabel);
528 PropertyBox::propertyContainerPropertyChanged(PropertyContainer *pc) 528 PropertyBox::propertyContainerPropertyChanged(PropertyContainer *pc)
529 { 529 {
530 if (pc != m_container) return; 530 if (pc != m_container) return;
531 531
532 #ifdef DEBUG_PROPERTY_BOX 532 #ifdef DEBUG_PROPERTY_BOX
533 DEBUG << "PropertyBox::propertyContainerPropertyChanged" << endl; 533 SVDEBUG << "PropertyBox::propertyContainerPropertyChanged" << endl;
534 #endif 534 #endif
535 535
536 PropertyContainer::PropertyList properties = m_container->getProperties(); 536 PropertyContainer::PropertyList properties = m_container->getProperties();
537 size_t i; 537 size_t i;
538 538
606 { 606 {
607 QObject *obj = sender(); 607 QObject *obj = sender();
608 QString name = obj->objectName(); 608 QString name = obj->objectName();
609 609
610 #ifdef DEBUG_PROPERTY_BOX 610 #ifdef DEBUG_PROPERTY_BOX
611 DEBUG << "PropertyBox::propertyControllerChanged(" << name << ", " << value << ")" << endl; 611 SVDEBUG << "PropertyBox::propertyControllerChanged(" << name << ", " << value << ")" << endl;
612 #endif 612 #endif
613 613
614 PropertyContainer::PropertyType type = m_container->getPropertyType(name); 614 PropertyContainer::PropertyType type = m_container->getPropertyType(name);
615 615
616 Command *c = 0; 616 Command *c = 0;